File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments