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

DspGetAnTop

Gets the top extent of the object at the specified AN.

Syntax

DspGetAnTop(nAN)

nAN:

The animation-point number.

Return Value

The y coordinate of the top extent of the object at the AN. If no object exists at the AN, -1 is returned.

Related Functions

DspGetAnWidth, DspGetAnHeight, DspGetAnLeft, DspGetAnRight, DspGetAnBottom, DspGetAnExtent

Example

nTop = DspGetAnTop(30);

See Also

Display Functions

Published June 2018