PdfTextWidget Constructor (String, PdfFontBase, PdfBrush)
|
Initializes a new instance of theclass.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public PdfTextWidget(
string text,
PdfFontBase font,
PdfBrush brush
)
Public Sub New (
text As String,
font As PdfFontBase,
brush As PdfBrush
)
public:
PdfTextWidget(
String^ text,
PdfFontBase^ font,
PdfBrush^ brush
)
new :
text : string *
font : PdfFontBase *
brush : PdfBrush -> PdfTextWidget
Parameters
-
text
-
Type:
System
String
The text.
-
font
-
Type:
Spire.Pdf.Graphics
PdfFontBase
The font.
-
brush
-
Type:
Spire.Pdf.Graphics
PdfBrush
The brush.
See Also