Click or drag to resize

PdfPageNumberField Class

Represents page number field.
Inheritance Hierarchy

Namespace: Spire.Pdf.AutomaticFields
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfPageNumberField : PdfMultipleNumberValueField

The PdfPageNumberField type exposes the following members.

Constructors
Name Description
Public method PdfPageNumberField
Initializes a new instance of theclass.
Public method PdfPageNumberField(PdfFontBase)
Initializes a new instance of theclass.
Public method PdfPageNumberField(PdfFontBase, PdfBrush)
Initializes a new instance of theclass.
Public method PdfPageNumberField(PdfFontBase, RectangleF)
Initializes a new instance of theclass.
Top
Properties
Name Description
Public property Bounds
Gets or sets the bounds of the field.
(Inherited from PdfAutomaticField .)
Public property Brush
Gets or sets the brush.
(Inherited from PdfAutomaticField .)
Public property Font
Gets or sets the font.
(Inherited from PdfAutomaticField .)
Public property Location
Gets or sets the location of the field.
(Inherited from PdfAutomaticField .)
Public property NumberStyle
Gets or sets the number style.
(Inherited from PdfMultipleNumberValueField .)
Public property Pen
Gets or sets the pen.
(Inherited from PdfAutomaticField .)
Public property Size
Gets or sets the size of the field.
(Inherited from PdfAutomaticField .)
Public property StringFormat
Gets or sets the string format.
(Inherited from PdfAutomaticField .)
Top
Methods
Name Description
Public method Draw(PdfCanvas)
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget .)
Public method Draw(PdfCanvas, PointF)
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget .)
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 GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method GetValue
Gets the value of the field at the specified graphics.
(Overrides PdfAutomaticField.GetValue(PdfCanvas) .)
Protected method InternalGetValue
Internal method to get value of the field.
Protected method InternalLoadedGetValue
Internal method to get value of the field.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method PerformDraw (Inherited from PdfMultipleValueField .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also