Copyright © 1998-2015 MultiMedia Soft

AnimGetFramesCount method

Previous pageReturn to chapter overviewNext page

Remarks

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.

 

Syntax

Visual Basic

control.AnimGetFramesCount () as Integer

 

Visual C++

short control.AnimGetFramesCount ();

 

 

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 number of frames.