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