Copyright © 1998-2010 MultiMedia Soft

AnimGetFramesRate method

Previous pageReturn to chapter overviewNext page


Gets the current frame rate of the animation expressed in milliseconds.

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.AnimGetFramesRate () as Integer


Visual C++

short control.AnimGetFramesRate ();



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 current frames rate expressed in milliseconds.