Partager via


CoreWebView2Controller.BoundsMode Property

Definition

Gets or sets the WebView bounds mode. BoundsMode affects how setting the @CoreWebView2Controller.Bounds and @CoreWebView2Controller.RasterizationScale properties work. Bounds mode can either be in @CoreWebView2BoundsMode$.UseRawPixels mode or @CoreWebView2BoundsMode$.UseRasterizationScale mode.

public Microsoft.Web.WebView2.Core.CoreWebView2BoundsMode BoundsMode { get; set; }
member this.BoundsMode : Microsoft.Web.WebView2.Core.CoreWebView2BoundsMode with get, set
Public Property BoundsMode As CoreWebView2BoundsMode

Property Value

Remarks

BoundsMode affects how setting the Bounds and RasterizationScale properties work. Bounds mode can either be in UseRawPixels mode or UseRasterizationScale mode.

Applies to