You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a C++ MFC application that uses an embedded WebView2 browser that causes some users issues when they turn up "Make Text Bigger" setting as show in this issue.
I tried to use put_RasterizationScale() but it does not seem to change the rasterization scale. I found #3060 and #2918 that appear to use put_RasterizationScale but I cannot figure out how or where. I tried looking for examples of actual usage of put_RasterizationScale in the WebView2 samples or any example period, but I couldn't find any good example. So, how and where can you use it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a C++ MFC application that uses an embedded WebView2 browser that causes some users issues when they turn up "Make Text Bigger" setting as show in this issue.
The "Make Text Bigger" setting causes the rasterization scale to change which causes WebView2 to zoom in. I formulated a solution to use put_shoulddetectmonitorscalechanges and add_RasterizationScaleChanged then change the ZoomFactor using put_ZoomFactor to make it zoom out.
I tried to use put_RasterizationScale() but it does not seem to change the rasterization scale. I found #3060 and #2918 that appear to use put_RasterizationScale but I cannot figure out how or where. I tried looking for examples of actual usage of put_RasterizationScale in the WebView2 samples or any example period, but I couldn't find any good example. So, how and where can you use it?
Beta Was this translation helpful? Give feedback.
All reactions