Click or drag to resize

PdfPage Class

Represents the leaf of the page tree, a page object, a dictionary specifying the attributes of a single page of the document.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.PdfPdfPageObject
      SautinSoft.PdfPdfPage

Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public sealed class PdfPage : PdfPageObject

The PdfPage type exposes the following members.

Properties
 NameDescription
Public propertyAnnotations(Optional) An array of annotation dictionaries that shall contain indirect references to all annotations associated with the page (see 12.5, "Annotations").
Public propertyAssociatedFiles(Optional; PDF 2.0) An array of one or more PdfFileSpecifications which denote the associated files for this PdfPage.
Public propertyContent Gets the content of the PdfPage.
Public propertyCropBox

(Optional; inheritable) A rectangle, expressed in default user space units, that shall define the visible region of default user space.

When the page is displayed or printed, its contents shall be clipped (cropped) to this rectangle and then shall be imposed on the output medium in some implementation-defined manner (see 14.11.2, "Page Boundaries").

Default value: the value of MediaBox.

Value of this property might be if this is an instance of a PdfPages, but it should never be if this is an instance of a PdfPage.


(Inherited from PdfPageObject)
Public propertyMediaBox

(Required; inheritable) A rectangle (see 7.9.5, "Rectangles"), expressed in default user space units, that shall define the boundaries of the physical medium on which the page shall be displayed or printed (see 14.11.2, "Page Boundaries").

Value of this property might be if this is an instance of a PdfPages, but it should never be if this is an instance of a PdfPage.


(Inherited from PdfPageObject)
Public propertyMetadata(Optional; PDF 1.4) A metadata stream containing metadata for the component.
(Inherited from PdfObject)
Public propertyParent(Required except in root node; prohibited in the root node; shall be an indirect reference) The page tree node that is the immediate parent of this one.
(Inherited from PdfPageObject)
Public propertyRotate

(Optional; inheritable) The number of degrees by which the page shall be rotated clockwise when displayed or printed.

The value shall be a multiple of 90.

Default value: 0.


(Inherited from PdfPageObject)
Public propertySize Gets the page size in the original (untransformed) coordinate system in which Rotate is 0, and UserUnit is 1.
Public propertyTransform Gets the transformation from the coordinate system transformed by CropBox.Left, CropBox.Bottom, Rotate, and UserUnit entries to the original (untransformed) coordinate system in which CropBox.Left is 0, CropBox.Bottom is 0, Rotate is 0, and UserUnit is 1.
Public propertyUserUnit(Optional; PDF 1.6) A positive number that shall give the size of default user space units, in multiples of 1/72 inch. The range of supported values shall be implementation-dependent. Default value: 1.0 (user space unit is 1/72 inch).
Top
Methods
 NameDescription
Public methodConvertToForm Converts the PdfPage to a PdfForm.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetCropBox(Double, Double) Sets the CropBox.
(Inherited from PdfPageObject)
Public methodSetCropBox(Double, Double, Double, Double) Sets the CropBox.
(Inherited from PdfPageObject)
Public methodSetMediaBox(Double, Double) Sets the MediaBox.
(Inherited from PdfPageObject)
Public methodSetMediaBox(Double, Double, Double, Double) Sets the MediaBox.
(Inherited from PdfPageObject)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also