PrintHelper.ShowPrintUIAsync 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
| ShowPrintUIAsync(String, Boolean) |
Starts the print task. |
| ShowPrintUIAsync(String, PrintHelperOptions, Boolean) |
Starts the print task. |
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.