AnimGetFramesCount method
Remarks
Gets the number of frames contained inside the loaded animation.
This method can be used only with the Ctl3dPictureBox control and if an animation is currently loaded.
(Available only with Professional edition)
Syntax
[Visual Basic]
Public Function AnimGetFramesCount() as Short
[C#]
public short AnimGetFramesCount();
[C++]
public: short AnimGetFramesCount();
Return value
|
Value
|
Meaning
|
|
|
|
|
-1
|
An error occurred, probably because no animation was actually loaded.
|
|
value >= 0
|
The number of frames.
|