PdfPageDimensions Class

Definition

Represents the dimensions of a single page in a Portable Document Format (PDF) document.

public ref class PdfPageDimensions sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PdfPageDimensions final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PdfPageDimensions
Public NotInheritable Class PdfPageDimensions
Inheritance
Object Platform::Object IInspectable PdfPageDimensions
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

ArtBox

Gets the size of a rectangle that contains the Portable Document Format (PDF) page's contents, including any meaningful surrounding white space, as intended by the Portable Document Format (PDF) page's creator.

BleedBox

Gets the size of a rectangle that specifies the clipped region of a Portable Document Format (PDF) page's contents when it is displayed.

CropBox

Gets the size of a rectangle that specifies the cropped region of a Portable Document Format (PDF) page's contents when it is displayed.

MediaBox

Gets the size of a rectangle that defines the boundaries of the area that the Portable Document Format (PDF) page will be displayed or printed to.

TrimBox

Gets the size of a rectangle that specifies the intended dimensions of the Portable Document Format (PDF) page after it has been trimmed.

Applies to