Partager via


CoreWebView2.ShowPrintUI Method

Definition

Overloads

ShowPrintUI(CoreWebView2PrintDialogKind)

Opens the print dialog to print the current web page.

ShowPrintUI()

Opens the browser print preview dialog to print the current web page

ShowPrintUI(CoreWebView2PrintDialogKind)

Opens the print dialog to print the current web page.

public void ShowPrintUI (Microsoft.Web.WebView2.Core.CoreWebView2PrintDialogKind printDialogKind);
member this.ShowPrintUI : Microsoft.Web.WebView2.Core.CoreWebView2PrintDialogKind -> unit
Public Sub ShowPrintUI (printDialogKind As CoreWebView2PrintDialogKind)

Parameters

printDialogKind
CoreWebView2PrintDialogKind

Examples

Remarks

See @CoreWebView2PrintDialogKind for descriptions of print dialog kinds.

Invoking browser or system print dialog doesn't open new print dialog if it is already open.

Applies to

ShowPrintUI()

Opens the browser print preview dialog to print the current web page

public void ShowPrintUI ();
member this.ShowPrintUI : unit -> unit
Public Sub ShowPrintUI ()

Applies to