Initializes a new instance of the class.

Namespace: Spire.Pdf.AutomaticFields
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfCompositeField(
	PdfFontBase font,
	string text
)
Public Sub New ( 
	font As PdfFontBase,
	text As String
)
public:
PdfCompositeField(
	PdfFontBase^ font, 
	String^ text
)
new : 
        font : PdfFontBase * 
        text : string -> PdfCompositeField

Parameters

font
PdfFontBase
A object that specifies the font attributes (the family name, the size, and the style of the font) to use.
text
String
The wide-character string to be drawn.

See Also