Click or drag to resize

ChromiumWebBrowserNotifyDpiChange Method

Version 81.3.100
Manually notify the browser the DPI of the parent window has changed.

Namespace:  CefSharp.Wpf
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 81.3.100.0 (81.3.100.0)
Syntax
public virtual void NotifyDpiChange(
	float newDpi
)

Parameters

newDpi
Type: SystemSingle
new DPI
Remarks
.Net 4.6.2 adds HwndSource.DpiChanged which could be used to automatically handle DPI change, unforunately we still target .Net 4.5.2
See Also