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

IAGAnimationPlayer.PlayAnimation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IA > IAGAnimationPlayer Interface > IAGAnimationPlayer.PlayAnimation Method
ArcGIS Developer Help

IAGAnimationPlayer.PlayAnimation Method

Plays the animation according to the animation environment options.

[Visual Basic .NET]
Public Sub PlayAnimation ( _
    ByVal pTracks As IAGAnimationTracks, _
    ByVal pEnvironment As IAGAnimationEnvironment, _
    ByVal pStatusBar As IStatusBar _
public void PlayAnimation (
    IAGAnimationTracks pTracks,
    IAGAnimationEnvironment pEnvironment,
    IStatusBar pStatusBar
HRESULT PlayAnimation(
  IAGAnimationTracks* pTracks,
  IAGAnimationEnvironment* pEnvironment,
  IStatusBar* pStatusBar
pTracks [in]

pTracks is a parameter of type IAGAnimationTracks* pEnvironment [in]
pEnvironment is a parameter of type IAGAnimationEnvironment* pStatusBar [in]
pStatusBar is a parameter of type IStatusBar*

Product Availability

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

See Also

IAGAnimationPlayer Interface

.NET Samples

Visualizing the camera path while animating