Dela via


PrintPageDescription Struct

Definition

Represents the data that describes a document page.

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct PrintPageDescription
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct PrintPageDescription
var printPageDescription = {
pageSize : /* Your value */,
imageableRect : /* Your value */,
dpiX : /* Your value */,
dpiY : /* Your value */
}
Public Structure PrintPageDescription
Inheritance
PrintPageDescription
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

DpiX

The resolution in dots per inch (DPI) for the X dimension of the page.

DpiY

The resolution in dots per inch (DPI) for the Y dimension of the page.

ImageableRect

The Rect within the page size on which content may actually be printed. Content outside of the rectangle, whether less or greater than the page size, will be cropped by the print target. The is specified in device independent pixels (DIPs).

PageSize

The page size in device independent pixels (DIPs).

Applies to