PdfTextWidget Constructor (String, PdfFontBase)
|
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
)
Public Sub New (
text As String,
font As PdfFontBase
)
public:
PdfTextWidget(
String^ text,
PdfFontBase^ font
)
new :
text : string *
font : PdfFontBase -> PdfTextWidget
Parameters
-
text
-
Type:
System
String
The text.
-
font
-
Type:
Spire.Pdf.Graphics
PdfFontBase
The font.
See Also