Initializes a new instance of the class.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
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
String
The text.
font
PdfFontBase
The font.
pen
PdfPen
The pen.

See Also