ChromiumWebBrowserZoomLevel Property |
Version 99.2.120
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: 99.2.120.0 (99.2.120.0)
Syntax public double ZoomLevel { get; set; }
public:
virtual property double ZoomLevel {
double get () sealed;
void set (double value) sealed;
}
Property Value
Type:
DoubleThe zoom level.
Implements
IWpfWebBrowserZoomLevelSee Also