Click or drag to resize

PdfCanvas DrawString Method (String, PdfFontBase, PdfBrush, PointF)

Draws the specified text string at the specified location with the specified Brush and Font objects.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void DrawString(
	string s,
	PdfFontBase font,
	PdfBrush brush,
	PointF point
)

Parameters

s
Type: System String
The text string.
font
Type: Spire.Pdf.Graphics PdfFontBase
The font.
brush
Type: Spire.Pdf.Graphics PdfBrush
The brush.
point
Type: System.Drawing PointF
The location point.
See Also