CoreWebView2PrintSettings.MarginTop Property

Definition

The top margin in inches.

public double MarginTop { get; set; }
member this.MarginTop : double with get, set
Public Property MarginTop 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