CoreWebView2.ShowPrintUI Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ()