Click or drag to resize

PdfDateTimeField Class

Represents date automated 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 PdfDateTimeField : PdfStaticField

The PdfDateTimeField type exposes the following members.

Constructors
Name Description
Public method PdfDateTimeField
Initializes a new instance of theclass.
Public method PdfDateTimeField(PdfFontBase)
Initializes a new instance of theclass.
Public method PdfDateTimeField(PdfFontBase, PdfBrush)
Initializes a new instance of theclass.
Public method PdfDateTimeField(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 DateFormatString
Gets or sets the format string.
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 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 (Overrides PdfAutomaticField.GetValue(PdfCanvas) .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method PerformDraw (Inherited from PdfStaticField .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also