Copyright © 2003-2024 MultiMedia Soft

AnimSetFramesRate method

Previous pageReturn to chapter overviewNext page

Remarks

Sets the new frames rate of the animation.

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

 

Syntax

 

[Visual Basic]

Public Function AnimSetFramesRate(Short nRate) as Bool

 

[C#]

public bool AnimSetFramesRate(short nRate);

 

[C++]

public: bool AnimSetFramesRate(short nRate);

 

 

Parameter

Description

 

 

nRate

The new frames rate expressed in milliseconds.

 

Return value

 

Value

Meaning

 

 

False

The frames rate change wasn't successful probably because no animation was actually loaded by the control.

True

The frames rate change was successful