Click or drag to resize

PdfTextWidget Constructor (String, PdfFontBase, PdfPen, PdfBrush, PdfStringFormat)

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,
	PdfBrush brush,
	PdfStringFormat format
)

Parameters

text
Type: System String
The text.
font
Type: Spire.Pdf.Graphics PdfFontBase
The font.
pen
Type: Spire.Pdf.Graphics PdfPen
The pen.
brush
Type: Spire.Pdf.Graphics PdfBrush
The brush.
format
Type: Spire.Pdf.Graphics PdfStringFormat
The format.
See Also