ChromiumWebBrowserNotifyDpiChange Method |
Version 130.1.90
Manually notify the browser the DPI of the parent window has changed.
The tested/expected values for newDpi are 1.0, 1.25, 1.5, 2.0 as these
correspond to 96, 120, 144, 192 DPI (referred to as 100%, 125%, 150%, 200% in the Windows GUI).
Namespace: CefSharp.WpfAssembly: CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public virtual void NotifyDpiChange(
float newDpi
)
public:
virtual void NotifyDpiChange(
float newDpi
)
Parameters
- newDpi Single
- new DPI
See Also