Skip to main content

Windows Dev Center

PrintTaskOptions.GetPageDescription | getPageDescription method

Retrieves the physical dimensions of the printed page.

Syntax


var printPageDescription = printTaskOptions.getPageDescription(jobPageNumber);

public PrintPageDescription GetPageDescription(
  uint jobPageNumber
)

Public Function GetPageDescription(
  jobPageNumber As UInteger 
) As PrintPageDescription

public:
PrintPageDescription GetPageDescription(
  unsigned int jobPageNumber
)

Parameters

jobPageNumber

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The page number.

Return value

Type: PrintPageDescription

The page description data.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Graphics.Printing
Windows::Graphics::Printing [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Graphics.Printing
Windows::Graphics::Printing [C++]

Metadata

Windows.winmd

See also

PrintTaskOptions