共用方式為


CoreWebView2PrintSettings.Orientation Property

Definition

The orientation can be portrait or landscape.

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

Property Value

Remarks

The default orientation is portrait. See CoreWebView2PrintOrientation.

Applies to