Dela via


PrintTaskOptions.GetPagePrintTicket(PrintPageInfo) Method

Definition

Retrieves the physical dimensions and formatting data of a printed page.

public:
 virtual IRandomAccessStream ^ GetPagePrintTicket(PrintPageInfo ^ printPageInfo) = GetPagePrintTicket;
IRandomAccessStream GetPagePrintTicket(PrintPageInfo const& printPageInfo);
public IRandomAccessStream GetPagePrintTicket(PrintPageInfo printPageInfo);
function getPagePrintTicket(printPageInfo)
Public Function GetPagePrintTicket (printPageInfo As PrintPageInfo) As IRandomAccessStream

Parameters

printPageInfo
PrintPageInfo

The formatting data for a given print section.

Returns

The print ticket data for the given page(s), to be sent down the print pipeline.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to