Initializes a new instance of the class.

Namespace: Spire.Pdf.AutomaticFields
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfDateTimeField(
	PdfFontBase font,
	PdfBrush brush
)
Public Sub New ( 
	font As PdfFontBase,
	brush As PdfBrush
)
public:
PdfDateTimeField(
	PdfFontBase^ font, 
	PdfBrush^ brush
)
new : 
        font : PdfFontBase * 
        brush : PdfBrush -> PdfDateTimeField

Parameters

font
PdfFontBase
A object that specifies the font attributes (the family name, the size, and the style of the font) to use.
brush
PdfBrush
A object that is used to fill the string.

See Also