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

DspGetAnWidth

Gets the width of the object at a specified AN.

Syntax

DspGetAnWidth(AN)

AN:

The animation-point number.

Return Value

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

Related Functions

DspGetAnHeight, DspGetAnLeft, DspGetAnRight, DspGetAnBottom, DspGetAnTop, DspGetAnExtent

Example

nWidth = DspGetAnWidth(30);

See Also

Display Functions