This document is archived and information here might be outdated. Recommended version. |
Plays the animation.
[Visual Basic .NET]
Public Sub Play ( _
[ByVal frameFrom As Integer], _
[ByVal frameTo As Integer], _
[ByVal repeat As Integer] _
)
[C#]
public void Play (
int frameFrom,
int frameTo,
int repeat
);
[C++]
HRESULT Play(
long frameFrom,
long frameTo,
long repeat
);
[C++] Parameters frameFrom [in, optional, defaultvalue()]
frameFrom is a parameter of type long frameTo [in, optional, defaultvalue()]
frameTo is a parameter of type long repeat [in, optional, defaultvalue()]
repeat is a parameter of type long
Plays the animation from between the specified frames. If the frameFrom, frameTo and repeat arguments are not supplied the animation will be played once from the first frame to the last frame.
The IStatusBar::PlayProgressAnimation method provides a shortcut to the Play and Stop methods of the animation progressor.
IAnimationProgressor Interface | IStatusBar.PlayProgressAnimation Method