CoreWebView2BoundsMode Enum

Mode for how the CoreWebView2Controller.Bounds property is interpreted in relation to the CoreWebView2Controller.RasterizationScale property.

Name Value Description
UseRawPixels 0x0 CoreWebView2Controller.Bounds property represents raw pixels. Physical size of WebView is not impacted by CoreWebView2Controller.RasterizationScale.
UseRasterizationScale 0x1 CoreWebView2Controller.Bounds property represents logical pixels and the CoreWebView2Controller.RasterizationScale property is used to get the physical size of the WebView.

Referenced by