PdfCompositeField Constructor (PdfFontBase, PdfBrush, String,
PdfAutomaticField
)
|
Initializes a new instance of theclass.
Namespace:
Spire.Pdf.AutomaticFields
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
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
-
Type:
Spire.Pdf.Graphics
PdfFontBase
Aobject that specifies the font attributes (the family name, the size, and the style of the font) to use.
-
brush
-
Type:
Spire.Pdf.Graphics
PdfBrush
Aobject that is used to fill the string.
-
text
-
Type:
System
String
The wide-character string to be drawn.
-
list
-
Type:
Spire.Pdf.AutomaticFields
PdfAutomaticField
The list ofobjects.
See Also