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

AVEVA™ Plant SCADA

DspGetAnRawExtent

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the extent of the object from the graphics page at the specified AN. The extent represents the page co-ordinates at which the object was originally inserted.

Note: If the object has movement configured, use the DspGetAnExtent function to get the extent of the object.

Syntax

DspGetAnRawExtent(nAN, Top, Left, Bottom, Right)

nAN:

The AN at which the object is positioned.

Top:

A buffer that contains the top-most extent of the object.

Left:

A buffer that contains the left-most extent of the object.

Bottom:

A buffer that contains the bottom-most extent of the object.

Right:

A buffer that contains the right-most extent of the object.

Return Value

0 (zero) if successful, otherwise an error is returned. The Top, Left, Bottom, and Right arguments contain the extents of the object, in pixels.

DspGetAnExtent, DspGetAnWidth, DspGetAnHeight, DspGetAnLeft, DspGetAnRight, DspGetAnBottom, DspGetAnTop, PageTransformCoords

Example


// Get extents at AN 25.
DspGetAnRawExtent(25, Top, Left, Bottom, Right);

See Also

Display Functions

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