共用方式為


CoreWebView2PrintSettings.MarginLeft Property

Definition

The left margin in inches.

public double MarginLeft { get; set; }
member this.MarginLeft : double with get, set
Public Property MarginLeft As Double

Property Value

Remarks

The default is 1 cm, or ~0.4 inches. A margin cannot be less than zero. If an invalid value is provided, the current value is not changed and an ArgumentException is thrown.

Applies to