Cicode Programming Reference > Cicode Function Categories > Display Functions > DspGetAnHeight

DspGetAnHeight

Gets the height of the object at a specified AN.

Syntax

DspGetAnHeight(nAN)

nAN:

The animation-point number.

Return Value

The height of the object (in pixels). If no object exists at the AN, -1 is returned.

Related Functions

DspGetAnWidth, DspGetAnLeft, DspGetAnRight, DspGetAnBottom, DspGetAnTop

Example

nHeight = DspGetAnHeight(30);

See Also

Display Functions

Published June 2018