Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PrintTaskRequest.CreatePrintTask 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.

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

public:
 virtual PrintTask ^ CreatePrintTask(Platform::String ^ title, PrintTaskSourceRequestedHandler ^ handler) = CreatePrintTask;
PrintTask CreatePrintTask(winrt::hstring const& title, PrintTaskSourceRequestedHandler const& handler);
public PrintTask CreatePrintTask(string title, PrintTaskSourceRequestedHandler handler);
function createPrintTask(title, handler)
Public Function CreatePrintTask (title As String, handler As PrintTaskSourceRequestedHandler) As PrintTask

Parameters

title
String

Platform::String

winrt::hstring

Title for the print task.

handler
PrintTaskSourceRequestedHandler

Pointer to a PrintTaskSourceRequestedHandler delegate for the print task.

Returns

Pointer to the print task that was created.

Applies to

See also


Feedback

Was this page helpful?