Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

DrawText

  • Last UpdatedJul 13, 2023
  • 1 minute read

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.

DrawLine, DrawEllipse, DrawPolygonStart, DrawPolygonLine, DrawPolygonEnd, DrawPipeStart, DrawPipeSection, DrawPipeEnd, DrawNumber, DrawButton, DrawTrend, DrawCicodeObject, DrawRectangle

Example

GraphicsBuilder.DrawText "My Text", 500, 100

In This Topic
TitleResults for “How to create a CRG?”Also Available in