Click or drag to resize

PdfPageObject Class

Represents a base class for page tree nodes: intermediate nodes, called page tree nodes represented with PdfPages type, and leaf nodes, called page objects represented with PdfPage type.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.PdfPdfPageObject
      SautinSoft.PdfPdfPage
      SautinSoft.PdfPdfPages

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

The PdfPageObject type exposes the following members.

Properties
 NameDescription
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.

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.

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

Top
Methods
 NameDescription
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.
Public methodSetCropBox(Double, Double, Double, Double) Sets the CropBox.
Public methodSetMediaBox(Double, Double) Sets the MediaBox.
Public methodSetMediaBox(Double, Double, Double, Double) Sets the MediaBox.
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