This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IA > IAnimationProgressor Interface > IAnimationProgressor.Play Method (ArcObjects .NET 10.4 SDK) |
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 );
Optional Values
[C++]
HRESULT Play(
long frameFrom,
long frameTo,
long repeat
);
[C++]
Parameters frameFrom [in, optional, defaultvalue(0)] frameFrom is a parameter of type long frameTo [in, optional, defaultvalue(-1)] frameTo is a parameter of type long repeat [in, optional, defaultvalue(-1)] 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