Skip to content

Commit

Permalink
WPF - Update NotifyDpiChange xml doc to clarify allowed values.
Browse files Browse the repository at this point in the history
Resolves #3561
  • Loading branch information
amaitland committed Jun 1, 2021
1 parent bec06b2 commit f6ea0de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CefSharp.Wpf/ChromiumWebBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2464,6 +2464,8 @@ private void ZoomReset()

/// <summary>
/// Manually notify the browser the DPI of the parent window has changed.
/// The tested/expected values for <paramref name="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).
/// </summary>
/// <param name="newDpi">new DPI</param>
/// <remarks>.Net 4.6.2 adds HwndSource.DpiChanged which could be used to automatically
Expand Down

0 comments on commit f6ea0de

Please sign in to comment.