Copyright © 2003-2024 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 with the Ctl3dPictureBox control and if an animation is currently loaded.

 

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.