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

AVEVA™ Plant SCADA

DrawTrend

  • Last UpdatedJul 13, 2023
  • 1 minute read

Draws a trend object on the active page.

Syntax

DrawTrend(FromXPosition, FromYPosition, ToXPosition, ToYPosition)

FromXPosition:

Distance from the left hand side of the page to top left hand corner of the trend object, measured in pixels.

FromYPosition:

Distance from the top of the page to the top left hand corner of the trend object, measured in pixels.

ToXPosition:

Distance from the left hand side of the page to the bottom right hand corner of the trend object, measured in pixels.

ToYPosition:

Distance from the top of the page to the bottom right hand corner of the trend object, measured in pixels.

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, DrawCicodeObject, DrawRectangle, DrawSymbolSet, DrawText

Example

GraphicsBuilder.DrawTrend 50, 70, 400, 200

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