ArcObjects Library Reference (Animation)  

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 _
)
[C#]
public void PlayAnimation (
    IAGAnimationTracks pTracks,
    IAGAnimationEnvironment pEnvironment,
    IStatusBar pStatusBar
);
[C++]
HRESULT PlayAnimation(
  IAGAnimationTracks* pTracks,
  IAGAnimationEnvironment* pEnvironment,
  IStatusBar* pStatusBar
);
[C++]

Parameters

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 (Code Files: VisualizeCameraPath) |

.NET Related Topics

Animation | How to play an animation |