Edit

Share via


PrintHelper.ShowPrintUIAsync Method

Definition

Overloads

ShowPrintUIAsync(String, Boolean)

Source:
PrintHelper.cs
Source:
PrintHelper.cs
Source:
PrintHelper.cs

Starts the print task.

public System.Threading.Tasks.Task ShowPrintUIAsync(string printTaskName, bool directPrint = false);
member this.ShowPrintUIAsync : string * bool -> System.Threading.Tasks.Task
Public Function ShowPrintUIAsync (printTaskName As String, Optional directPrint As Boolean = false) As Task

Parameters

printTaskName
String

Name of the print task to use

directPrint
Boolean

Directly print the content of the container instead of relying on list built with AddFrameworkElementToPrint(FrameworkElement) method

Returns

A Task representing the asynchronous operation.

Applies to

ShowPrintUIAsync(String, PrintHelperOptions, Boolean)

Source:
PrintHelper.cs
Source:
PrintHelper.cs
Source:
PrintHelper.cs

Starts the print task.

public System.Threading.Tasks.Task ShowPrintUIAsync(string printTaskName, Microsoft.Toolkit.Uwp.Helpers.PrintHelperOptions printHelperOptions, bool directPrint = false);
member this.ShowPrintUIAsync : string * Microsoft.Toolkit.Uwp.Helpers.PrintHelperOptions * bool -> System.Threading.Tasks.Task
Public Function ShowPrintUIAsync (printTaskName As String, printHelperOptions As PrintHelperOptions, Optional directPrint As Boolean = false) As Task

Parameters

printTaskName
String

Name of the print task to use

printHelperOptions
PrintHelperOptions

Settings for the print task

directPrint
Boolean

Directly print the content of the container instead of relying on list built with AddFrameworkElementToPrint(FrameworkElement) method

Returns

A Task representing the asynchronous operation.

Applies to