Copyright © 2003-2024 MultiMedia Soft

AnimShowFrame method

Previous pageReturn to chapter overviewNext page

Remarks

Shows a specific frame of the currently loaded animation.

This method can be used only with the Ctl3dPictureBox control and if an animation is currently loaded.

 

Syntax

 

[Visual Basic]

Public Function AnimShowFrame (iFrame as Short) as Bool

 

[C#]

public bool AnimShowFrame (short iFrame);

 

[C++]

public: bool AnimShowFrame (short iFrame);

 

 

Parameter

Description

 

 

iFrame

Index of the frame that must be displayed.

 

Return value

 

Value

Meaning

 

 

False

An error occurred, probably because no animation was actually loaded or because the iFrame parameter value was higher than the number of available frames inside the loaded animation.

True

The frame was displayed successfully.