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

DspGetAnHeight

Gets the height of the object at a specified AN.

Syntax

DspGetAnHeight(AN)

AN:

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