共用方式為


IWebView2.ZoomFactor Property

Definition

The zoom factor for the WebView. This property directly exposes ZoomFactor, see its documentation for more info. Getting this property before the CoreWebView2 has been initialized will retrieve the last value which was set to it, or 1.0 (the default) if none has been. The most recent value set to this property before the CoreWebView2 has been initialized will be set on it after initialization.

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

Property Value

Applies to

See also