Skip to content

PDFPageInfo

Namespace: O2S.Components.PDF4NET.Core

Defines basic information about a PDF page.

public class PDFPageInfo

Inheritance ObjectPDFPageInfo

Properties

ArtBox

Gets the page art box.

public PDFStandardRectangle ArtBox { get; }

Property Value

PDFStandardRectangle
A PDFStandardRectangle, expressed in default user space units, defining the extent of the page's meaningful content (including potential white space) as intended by the page's creator


BleedBox

Gets the page bleed box.

public PDFStandardRectangle BleedBox { get; }

Property Value

PDFStandardRectangle
A PDFStandardRectangle, expressed in default user space units, defining the region to which the contents of the page should be clipped when output in a production environment.


CropBox

Gets the page crop box.

public PDFStandardRectangle CropBox { get; }

Property Value

PDFStandardRectangle
A PDFStandardRectangle, expressed in default user space units, defining the visible region of default user space.


Height

Gets the visual page height.

public double Height { get; }

Property Value

Double
The visual height of the page.

Remarks

The visual height is the height of the page as it is seen on the display. It is always measured on vertical no matter the page rotation.


MediaBox

Gets the page media box.

public PDFStandardRectangle MediaBox { get; }

Property Value

PDFStandardRectangle
A PDFStandardRectangle, expressed in default user space units, defining the boundaries of the physical medium on which the page is intended to be displayed or printed.


Rotation

Gets the page rotation angle.

public int Rotation { get; internal set; }

Property Value

Int32
The number of degrees by which the page should be rotated clockwise when displayed or printed.

Remarks

The accepted values for this property are 0, 90, 180 and 270 degrees.


SeparationInfo

Gets the separation information associated with the page.

public PDFSeparationInfo SeparationInfo { get; internal set; }

Property Value

PDFSeparationInfo
A PDFSeparationInfo object specifying the separation information for the page.


TrimBox

Gets the page trim box.

public PDFStandardRectangle TrimBox { get; }

Property Value

PDFStandardRectangle
A PDFStandardRectangle, expressed in default user space units, defining the intended dimensions of the finished page after trimming.


Width

Gets the visual page width.

public double Width { get; }

Property Value

Double
The visual width of the page.

Remarks

The visual width is the width of the page as it is seen on the display. It is always measured on horizontal no matter the page rotation.