Share via


PrintPageInfo Class

Definition

Stores formatting data for a single section of printable pages.

public ref class PrintPageInfo sealed
/// [Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintPageInfo final
[Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintPageInfo
Public NotInheritable Class PrintPageInfo
Inheritance
Object Platform::Object IInspectable PrintPageInfo
Attributes

Windows requirements

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

Constructors

PrintPageInfo()

Initializes an instance of the PrintPageInfo class.

Properties

DpiX

Gets the print resolution on the horizontal axis for the given print section.

DpiY

Gets the print resolution on the vertical axis for the given print section.

MediaSize

Gets or sets the media size option of the given print section.

Orientation

Gets or sets the orientation option for the given print section.

PageSize

Gets or sets the intended paper size on which to print the given section.

Applies to