This document is archived and information here might be outdated.  Recommended version.


IAnimationProgressor.Play Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IA > IAnimationProgressor Interface > IAnimationProgressor.Play Method
ArcGIS Developer Help

IAnimationProgressor.Play Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

Remarks

The IStatusBar::PlayProgressAnimation method provides a shortcut to the Play and Stop methods of the animation progressor.

See Also

IAnimationProgressor Interface | IStatusBar.PlayProgressAnimation Method