Skip to content

Commit 348895d

Browse files
authored
Update RasterizationScale.md
1 parent 874f739 commit 348895d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

specs/RasterizationScale.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ interface ICoreWebView2Controller2 : ICoreWebView2Controller {
9595
/// ShouldDetectMonitorScaleChanges property determines whether the WebView
9696
/// attempts to track monitor DPI scale changes. When true, the WebView will
9797
/// track monitor DPI scale changes, update the RasterizationScale property,
98-
/// and raises RasterizationScaleChanged event. Attempting to set RasterizationScale
99-
/// while ShouldDetectMonitorScaleChanges is true will result in RasterizationScaleChanged
100-
/// being raised and the value restored to match the monitor DPI scale.
98+
/// and raises RasterizationScaleChanged event.
10199
/// When false, the WebView will not track monitor DPI scale changes, and the app
102100
/// must update the RasterizationScale property itself. RasterizationScaleChanged
103-
/// event will never raise when ShouldDetectMonitorScaleChanges is false.
101+
/// event will never raise when ShouldDetectMonitorScaleChanges is false. Apps that want
102+
/// to set their own rasterization scale should set this property to false to avoid the
103+
/// WebView2 updating the RasterizationScale property to match the monitor DPI scale.
104104
[propget] HRESULT ShouldDetectMonitorScaleChanges([out, retval] BOOL* value);
105105
/// Set the ShouldDetectMonitorScaleChanges property.
106106
[propput] HRESULT ShouldDetectMonitorScaleChanges([in] BOOL value);

0 commit comments

Comments
 (0)