CanvasDrawString Method (String, Font, Brush, Single, Single)ByteScout PDF SDK
Draws the specified text string at the specified location with the specified Brush and font objects.

Namespace:  Bytescout.PDF
Assembly:  Bytescout.PDF (in Bytescout.PDF.dll) Version: 1.9.7.331-master
Syntax

public void DrawString(
	string text,
	Font font,
	Brush brush,
	float left,
	float top
)

Parameters

text
Type: SystemString
String to draw.
font
Type: Bytescout.PDFFont
Bytescout.PDF.Font that defines the text format of the string.
brush
Type: Bytescout.PDFBrush
Bytescout.PDF.Brush that determines the characteristics of the fill.
left
Type: SystemSingle
The x-coordinate of the upper-left corner of the drawn text.
top
Type: SystemSingle
The y-coordinate of the upper-left corner of the drawn text.
See Also

Reference