Partilhar via


CoreWebView2BoundsMode Enum

Definition

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

public enum CoreWebView2BoundsMode
type CoreWebView2BoundsMode = 
Public Enum CoreWebView2BoundsMode
Inheritance
CoreWebView2BoundsMode

Fields

Name Value Description
UseRawPixels 0

Bounds property represents raw pixels. Physical size of Webview is not impacted by RasterizationScale.

UseRasterizationScale 1

Bounds property represents logical pixels and the RasterizationScale property is used to get the physical size of the WebView.

Applies to