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 PdfCompositeField(
	PdfFontBase font,
	PdfBrush brush,
	string text,
	params PdfAutomaticField[] list
)
Public Sub New ( 
	font As PdfFontBase,
	brush As PdfBrush,
	text As String,
	ParamArray list As PdfAutomaticField()
)
public:
PdfCompositeField(
	PdfFontBase^ font, 
	PdfBrush^ brush, 
	String^ text, 
	... array<PdfAutomaticField^>^ list
)
new : 
        font : PdfFontBase * 
        brush : PdfBrush * 
        text : string * 
        list : PdfAutomaticField[] -> PdfCompositeField

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.
text
String
The wide-character string to be drawn.
list
array<PdfAutomaticField>[]()[][]
The list of objects.

See Also