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

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

public void DrawString(
	string text,
	Font font,
	Brush brush,
	Pen pen,
	RectangleF layoutRectangle
)

Parameters

text
Type: SystemString
The 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.
pen
Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the text outline.
layoutRectangle
Type: System.DrawingRectangleF
System.Drawing.RectangleF structure that specifies the bounds of the drawn text.
See Also

Reference