Skip to content

PDFPage Class

Definition

Namespace: O2S.Components.PDF4NET

Defines a PDF page.

C#
public class PDFPage : PDFContentStreamContainer

Inheritance: Object → PDFContentStreamContainer → PDFPage

Constructors

Name Description
PDFPage() Initializes a new PDFPage object.
PDFPage(PDFPageSize) Initializes a new PDFPage object.
PDFPage(PDFPage) Initializes a new PDFPage object.

Properties

Name Description
Annotations Gets the annotations.
ArtBox Gets or sets the art box.
BleedBox Gets or sets the bleed box.
Canvas Gets the page canvas.
CloseAction Gets or sets the page close action.
CosDictionary Gets the COS dictionary asssociated with this object.
CropBox Gets or sets the crop box.
Document Gets the PDF document.
Fields Gets the form fields.
Group Gets or sets the page group.
Height Gets or sets the visual page height.
MediaBox Gets or sets the media box.
OpenAction Gets or sets the page open action.
OptionalContentGroups Gets the list of optional content groups included in the page content.
PageSize Gets or sets the PDF page size to a predefined value.
Rotation Gets or sets the rotation angle.
TabOrder Gets or sets the annotations tab order.
TrimBox Gets or sets the trim box.
UserUnit Gets or sets the page user unit.
Viewports Gets or sets the page viewports.
VisibleBox Gets the box that defines the actual visible area of the page.
Width Gets or sets the visual page width.
XmpMetadata Gets or sets the XMP page metadata.

Methods

Name Description
ConvertDisplayPointToStandardPoint Converts a point from the visual coordinate system (origin of coordinate system in top left corner of visual page area) to standard PDF coordinate system (origin of coordinate system in bottom left corner of page media box).
ConvertDisplayRectangleToStandardRectangle Converts a rectangle on the page from visual coordinate system (origin of coordinate system in top left corner of visual page area) to standard PDF coordinate system (origin of coordinate system in bottom left corner of page media box).
ConvertStandardPointToDisplayPoint Converts a point from standard PDF coordinate system (origin of coordinate system in bottom left corner of page media box) to visual coordinate system (origin of coordinate system in top left corner of visual page area).
ConvertStandardRectangleToDisplayRectangle Converts a rectangle on the page from standard PDF coordinate system (origin of coordinate system in bottom left corner of page media box) to visual coordinate system (origin of coordinate system in top left corner of visual page area).
GetPageFonts Gets the set of fonts included in this page.
LoadGraphics Loads the page canvas from the source PDF file.
MapMarkedContentIdentifierToStructureElement Maps a marked content sequence identifier to a structure element.
(inherited from PDFContentStreamContainer)
Save Saves the PDF page.
SaveCanvas Saves the page canvas.
SaveImages Saves the images drawn on the PDF page.
SetCanvasPosition Sets the position of the page canvas relative to existing page content.