Draws an alphanumeric string at the specified location.
Syntax
DrawText(Text, XPosition, YPosition)
Text:
The text to be pasted on to the active graphics page.
XPosition:
Distance in pixels from the left of the page to the point where you would like the text to be placed.
YPosition:
Distance in pixels from the top of the page to the point where you would like the text to be placed.
Return Value
0 (zero) if successful, otherwise an error is returned.
Note: For details on handling return and error values, see Error Handling.
Related Functions
DrawLine, DrawEllipse, DrawPolygonStart, DrawPolygonLine, DrawPolygonEnd, DrawPipeStart, DrawPipeSection, DrawPipeEnd, DrawNumber, DrawButton, DrawTrend, DrawCicodeObject, DrawRectangle, DrawSymbolSet
Example
GraphicsBuilder.DrawText "My Text", 500, 100
Published June 2018