Copyright © 1998-2010 MultiMedia Soft

AnimGetFramesCount method

Previous pageReturn to chapter overviewNext page


Gets the number of frames contained inside the loaded animation.

This method can be used only if the control's Style property is set to STYLE_PICTURE and if an animation is currently loaded.



Visual Basic

control.AnimGetFramesCount () as Integer


Visual C++

short control.AnimGetFramesCount ();



Return value







An error occurred, probably because the Style property value was different from STYLE_PICTURE or because no animation was actually loaded.

value >= 0

The number of frames.