CanvasDrawString Method (String, Font, Brush, RectangleF)
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 and size with the specified Brush and font objects.
Namespace:Bytescout.PDFAssembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void DrawString( string text, Font font, Brush brush, 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. - layoutRectangle
- Type: System.DrawingRectangleF
System.Drawing.RectangleF structure that specifies the bounds of the drawn text.
See Also