PdfPageDimensions PdfPageDimensions PdfPageDimensions PdfPageDimensions Class

Definition

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

public : sealed class PdfPageDimensions : IPdfPageDimensionspublic sealed class PdfPageDimensions : IPdfPageDimensionsPublic NotInheritable Class PdfPageDimensions Implements IPdfPageDimensions// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

ArtBox ArtBox ArtBox 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.

public : Rect ArtBox { get; }public Rect ArtBox { get; }Public ReadOnly Property ArtBox As Rect// You can use this property in JavaScript.
Value
Rect Rect Rect Rect

The size of the Portable Document Format (PDF) page's contents and any meaningful surrounding white space.

BleedBox BleedBox BleedBox 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.

public : Rect BleedBox { get; }public Rect BleedBox { get; }Public ReadOnly Property BleedBox As Rect// You can use this property in JavaScript.
Value
Rect Rect Rect Rect

The size of the Portable Document Format (PDF) page's clipped region.

CropBox CropBox CropBox 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.

public : Rect CropBox { get; }public Rect CropBox { get; }Public ReadOnly Property CropBox As Rect// You can use this property in JavaScript.
Value
Rect Rect Rect Rect

The size of the Portable Document Format (PDF) page's cropped region.

Remarks

When the Portable Document Format (PDF) page is displayed or printed, its contents are cropped to this rectangle.

MediaBox MediaBox MediaBox 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.

public : Rect MediaBox { get; }public Rect MediaBox { get; }Public ReadOnly Property MediaBox As Rect// You can use this property in JavaScript.
Value
Rect Rect Rect Rect

The size of the Portable Document Format (PDF) page's display or print boundaries.

TrimBox TrimBox TrimBox TrimBox

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

public : Rect TrimBox { get; }public Rect TrimBox { get; }Public ReadOnly Property TrimBox As Rect// You can use this property in JavaScript.
Value
Rect Rect Rect Rect

The Portable Document Format (PDF) page's trimmed dimensions.