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

DspGetAnRight

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

Syntax

DspGetAnRight(nAN)

nAN:

The animation-point number.

Return Value

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

Related Functions

DspGetAnWidth, DspGetAnHeight, DspGetAnLeft, DspGetAnBottom, DspGetAnTop, DspGetAnExtent

Example

nRight = DspGetAnRight(30);

See Also

Display Functions

Published June 2018