Click or drag to resize

PdfPageBase Class

The base class for all pages.
Inheritance Hierarchy
System Object
Spire.Pdf PdfPageBase
Spire.Pdf PdfNewPage
Spire.Pdf PdfPageWidget

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public abstract class PdfPageBase

The PdfPageBase type exposes the following members.

Properties
Name Description
Public property ActualSize
Gets the actual size of the page.
Public property AllowContainAllDocTemplates
Gets or sets this page allow contain doc templates.
Public property AllowContainBottomDocTemplates
Gets or sets this page allow contain bottom doc templates.
Public property AllowContainLeftDocTemplates
Gets or sets this page allow contain left doc templates.
Public property AllowContainRightDocTemplates
Gets or sets this page allow contain right doc templates.
Public property AllowContainTopDocTemplates
Gets or sets this page allow contain top doc templates.
Public property Annotations
Gets a collection of the annotations of the page.
Public property AnnotationsWidget Obsolete.
Gets the field collection.
Public property ArtBox
Gets or sets page region containing content.
Public property BackgroudOpacity
Gets or sets the backgroud opacity.
Public property BackgroundColor
Gets or sets page's background color.
Public property BackgroundImage
Gets or sets page's background image.
Public property BackgroundRegion
The position and size of the background
Public property BleedBox
Returns page region after clipping.
Public property Canvas
Gets the graphics of the .
Public property CropBox
Gets or sets the visible region of the page.
Public property Document
Gets current document.
Public property MediaBox
Returns page region mediabox.
Public property PageLabel
Get the page label.
Public property PagePieceInfo
Get the page piece info.
Public property Rotation
Gets or sets the page rotation.
Public property Section
Gets the parent section of the page.
Public property Size
Gets the size of the page.
Public property TrimBox
Gets or sets page region after trimming.
Top
Methods
Name Description
Public method CreateTemplate
Creates a template from page content and all annotation appearances.
Protected method DrawBackground
Draw current page's background
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetClientSize
Returns a page size reduced by page margins and page template dimensions.
Protected method GetFontFamily
Gets the font family.
Protected method GetFontStyle
Gets the font style.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method IsBlank
Whether the page is blank.
Public method LoadFromRTF(String, Single, Boolean) Obsolete.
Insert rich text to page
Public method LoadFromRTF(String, Single, Boolean, PointF) Obsolete.
Insert rich text to page
Public method LoadFromRTF(String, Single, Single, Boolean) Obsolete.
Insert rich text to page
Public method LoadFromRTF(String, Single, Single, Boolean, PointF) Obsolete.
Insert rich text to page
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method OnBeginSave
Raisesevent.
Public method SetTabOrder
Set tab order.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Events
Name Description
Public event BeginSave
Raises before the page saves.
Top
See Also