Skip to content

Commit f6ea0de

Browse files
committed
WPF - Update NotifyDpiChange xml doc to clarify allowed values.
Resolves #3561
1 parent bec06b2 commit f6ea0de

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
@@ -2464,6 +2464,8 @@ private void ZoomReset()
24642464

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

0 commit comments

Comments
 (0)