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

AVEVA™ Plant SCADA

DspGetAnExtent

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gts the extent (the page co-ordinates) of the object at the specified AN.

Syntax

DspGetAnExtent(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.

DspGetAnRawExtent, DspGetAnWidth, , DspGetAnLeft, DspGetAnRight, DspGetAnBottom, DspGetAnTop, PageTransformCoords

Example

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

See Also

Display Functions

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