Skip to content

Commit 6e54aea

Browse files
committed
WPF - Update NotifyDpiChange xml doc to clarify allowed values.
Resolves #3561
1 parent 5c44726 commit 6e54aea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CefSharp.Wpf/ChromiumWebBrowser.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2600,6 +2600,8 @@ private void ZoomReset()
26002600

26012601
/// <summary>
26022602
/// Manually notify the browser the DPI of the parent window has changed.
2603+
/// The tested/expected values for <paramref name="newDpi"/> are 1.0, 1.25, 1.5, 2.0 as these
2604+
/// correspond to 96, 120, 144, 192 DPI (referred to as 100%, 125%, 150%, 200% in the Windows GUI).
26032605
/// </summary>
26042606
/// <param name="newDpi">new DPI</param>
26052607
/// <remarks>.Net 4.6.2 adds HwndSource.DpiChanged which could be used to automatically

0 commit comments

Comments
 (0)