Click or drag to resize

ChromiumWebBrowserZoomLevel Property

Version 101.0.180
The zoom level at which the browser control is currently displaying. Can be set to 0 to clear the zoom level (resets to default zoom level). NOTE: For browsers that share the same render process (same origin) this property is only updated when the browser changes its visible state. If you have two browsers visible at the same time that share the same render process then zooming one will not update this property in the other (unless the control is hidden and then shown). You can isolate browser instances using a RequestContext, they will then have their own render process regardless of the process policy. You can manually get the Zoom level using GetZoomLevelAsync

Namespace:  CefSharp.Wpf
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public double ZoomLevel { get; set; }

Property Value

Type: Double
The zoom level.

Implements

IWpfWebBrowserZoomLevel
See Also