Click or drag to resize

Page Class

Page is a high-level class representing PDF page object (see 'Page Objects' in Section 3.6.2, 'Page Tree,' in PDF Reference Manual). Among other associated objects, a page object contains:
  • A series of objects representing the objects drawn on the page (See Element and ElementReader class for examples of how to extract page content).
  • A list of resources used in drawing the page
  • Annotations
  • Beads, private metadata, optional thumbnail image, etc.
Apply the replacement instructions to the target page. Subsequent calls to 'Process' can be made on other pages, and it will apply the same rules.
Inheritance Hierarchy
SystemObject
  pdftron.PDFPage

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class Page : IClosable

The Page type exposes the following members.

Constructors
  NameDescription
Public methodPage
Instantiates a new page.
Top
Methods
  NameDescription
Public methodStatic memberAddRotations
Rotate r0 clockwise by r1
Public methodAnnotInsert
Adds an annotation at the specified location in a page's annotation Array.
Public methodAnnotPushBack
Adds an annotation to the end of a page's annotation Array.
Public methodAnnotPushFront
Adds an annotation to the beginning of a page's annotation Array.
Public methodAnnotRemove(Int32)
Removes the annoation at a given location.
Public methodAnnotRemove(IAnnot)
Removes the given annoation from the page.
Public methodClose
Public methodStatic memberDegreeToRotation
Convert a number that represents rotation in degrees to a rotation enum.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFindInheritedAttribute
Some of the page attributes are designated as inheritable. If such an attribute is omitted from a page object, its value is inherited from an ancestor node in the page tree. If the attribute is a required one, a value must be supplied in an ancestor node; if it is optional and no inherited value is specified, the default value should be used. The function walks up the page inhritance tree in search for specified attribute.
Public methodFlattenField
Public methodGetAnnot
Gets the annotation on the page.
Public methodGetAnnots
Gets the annotation on the page.
Public methodGetBox
PDF page can define as many as five separate boundaries to control various aspects of the imaging process (for more details please refer to Section 10.10.1 'Page Boundaries' in PDF Reference Manual).
Public methodGetContents
Gets the contents.
Public methodGetCropBox
Gets the crop box.
Public methodGetDefaultMatrix
Gets the default matrix.
Public methodGetDefaultMatrix(Boolean)
Gets the default matrix.
Public methodGetDefaultMatrix(Boolean, PageBox)
Gets the default matrix.
Public methodGetDefaultMatrix(Boolean, PageBox, PageRotate)
Gets the default matrix.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetIndex
Gets the index.
Public methodGetMediaBox
Gets the media box.
Public methodGetNumAnnots
Gets the number of annotations on a page. Widget annotations (form fields) are included in the count.
Public methodGetPageHeight
Gets the page height.
Public methodGetPageHeight(PageBox)
Gets the page height.
Public methodGetPageWidth
Gets the page width.
Public methodGetPageWidth(PageBox)
Gets the page width.
Public methodGetResourceDict
Gets the resource dictionary.
Public methodGetRotation
specify page rotations in degrees
Public methodGetSDFObj
Gets the page dictionary.
Public methodGetTriggerAction
Get the Action associated with the selected Page Trigger event
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUserUnitSize
Gets the UserUnit value for the page. A UserUnit is a positive number giving the size of default user space units, in multiples of 1/72 inch.
Public methodGetVisibleContentBox
The bounding box is defined as the smallest rectangle that includes all the visible content on the page.
Public methodHasTransition
Tests whether this page has a transition.
Public methodIsValid
Checks if is valid.
Public methodStatic memberRotationToDegree
Convert a rotation to a number.
Public methodScale
A utility method used to scale physical dimensions of the page including all page content.
Public methodSet
Sets the page to given Page object
Public methodSetBox
Sets the specified box
Public methodSetCropBox
Sets the crop box for this page. The crop box is the region of the page to display and print.
Public methodSetMediaBox
Sets the media box for this page.
Public methodSetRotation
Sets the rotation value for this page.
Public methodSetUserUnitSize
Sets the UserUnit value for a page.
Public methodStatic memberSubtractRotations
Rotate r0 counter clockwise by r1.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also