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,
	PdfBrush brush,
	PdfStringFormat format
)
Public Sub New ( 
	text As String,
	font As PdfFontBase,
	pen As PdfPen,
	brush As PdfBrush,
	format As PdfStringFormat
)
public:
PdfTextWidget(
	String^ text, 
	PdfFontBase^ font, 
	PdfPen^ pen, 
	PdfBrush^ brush, 
	PdfStringFormat^ format
)
new : 
        text : string * 
        font : PdfFontBase * 
        pen : PdfPen * 
        brush : PdfBrush * 
        format : PdfStringFormat -> PdfTextWidget

Parameters

text
String
The text.
font
PdfFontBase
The font.
pen
PdfPen
The pen.
brush
PdfBrush
The brush.
format
PdfStringFormat
The format.

See Also