pageZoom property
getter/setter pair
The scale factor by which the web view scales content relative to its bounds.
The default value of this property is 1.0, which displays the content without any scaling.
Changing the value of this property is equivalent to setting the CSS zoom property on all page content.
Officially Supported Platforms/Implementations:
- iOS WKWebView 14.0+ (Official API - WKWebView.pageZoom)
- macOS WKWebView 11.0+ (Official API - WKWebView.pageZoom)
- Windows WebView2 (Official API - ICoreWebView2Controller.ZoomFactor)
Implementation
double? pageZoom;