CanvasDrawString Method (String, Font, Pen, Single, Single)
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Draws the specified text string at the specified location with the specified pen and font objects.
Namespace:Bytescout.PDFAssembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
Parameters
- text
- Type: SystemString
String to draw. - font
- Type: Bytescout.PDFFont
Bytescout.PDF.Font that defines the text format of the string. - pen
- Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the text outline. - 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