PrintTaskRequest.CreatePrintTask(String, PrintTaskSourceRequestedHandler) PrintTaskRequest.CreatePrintTask(String, PrintTaskSourceRequestedHandler) PrintTaskRequest.CreatePrintTask(String, PrintTaskSourceRequestedHandler) PrintTaskRequest.CreatePrintTask(String, PrintTaskSourceRequestedHandler) PrintTaskRequest.CreatePrintTask(String, PrintTaskSourceRequestedHandler) Method

Definition

Creates a new PrintTask which indicates that the app has content to be printed.

public : PrintTask CreatePrintTask(Platform::String title, PrintTaskSourceRequestedHandler handler)
PrintTask CreatePrintTask(winrt::hstring title, PrintTaskSourceRequestedHandler handler) const;
public PrintTask CreatePrintTask(String title, PrintTaskSourceRequestedHandler handler)
Public Function CreatePrintTask(title As String, handler As PrintTaskSourceRequestedHandler) As PrintTask
var printTask = printTaskRequest.createPrintTask(title, handler);

Parameters

title
String String String

Title for the print task.

handler
PrintTaskSourceRequestedHandler PrintTaskSourceRequestedHandler PrintTaskSourceRequestedHandler

Pointer to a PrintTaskSourceRequestedHandler delegate for the print task.

Returns

Pointer to the print task that was created.

See also