Copyright © 1998-2015 MultiMedia Soft

AnimGetFramesRate method

Previous pageReturn to chapter overviewNext page

Remarks

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.

 

Syntax

Visual Basic

control.AnimGetFramesRate () as Integer

 

Visual C++

short control.AnimGetFramesRate ();

 

 

Return value

 

Value

Meaning

 

 

-1

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.