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,
	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
String
The text.
font
PdfFontBase
The font.
brush
PdfBrush
The brush.

See Also