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

AVEVA™ Plant SCADA

DrawPolygonEnd

  • Last UpdatedJul 13, 2023
  • 1 minute read

Terminates the drawing of a polygon on the active page. To work successfully, this function needs to follow an instance of DrawPolygonLine.

Syntax

DrawPolygonEnd

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

DrawPolygonLine, DrawPolygonStart

Example

GraphicsBuilder.DrawPolygonStart 50, 290
GraphicsBuilder.DrawPolygonLine 200, 350
GraphicsBuilder.DrawPolygonLine 350, 250
GraphicsBuilder.DrawPolygonLine 400, 350
GraphicsBuilder.DrawPolygonEnd

In This Topic