Skip to content

PdfPage Class

Definition

Namespace: Xfinium.Pdf

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.
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.
Graphics Gets the page graphics.
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
ConvertStandardPointToVisualPoint 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).
ConvertStandardRectangleToVisualRectangle 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).
ConvertVisualPointToStandardPoint 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).
ConvertVisualRectangleToStandardRectangle 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).
GetPageFonts Gets the set of fonts included in this page.
LoadGraphics Loads the page graphics from the source PDF file.
MapMarkedContentIdentifierToStructureElement Maps a marked content sequence identifier to a structure element.
(inherited from PdfContentStreamContainer)
Save Saves the Pdf page.
SaveGraphics Saves the page graphics.
SaveImages Saves the images drawn on the Pdf page.
SetGraphicsPosition Sets the position of the page graphics relative to existing page content.