ArcObjects Library Reference (Animation)  

IAGAnimationContainer Interface

Provides access to members that control the animation container.

Product Availability

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


Read-only property AllViews All the viewers.
Read-only property AnimationFileExtension The extension for the animation files.
Read-only property AnimationFileFilter The filter for browing animation files.
Write-only property AnimationTime Provides access to the animation time string.
Read-only property AnimationTypes The registered types of animation.
Read-only property CurrentView The current active viewer.
Method DrawGraphsToDC Draw datagraphs to specified device context.
Method DrawPageLayoutToDC Draw the page layout to specified device context.
Read/write property IsGestureEnabled Indicates if interactive gestures are enabled.
Method PutIsAnimating Indicates if the animation is active, and if full quality rendering is used (for video).
Method RefreshObject Container-specific actions to refresh object.
Method RefreshViews Refresh the active viewer or all viewers.
Method RemoveAllAnimationTimeStrings Remove all animation time string from the display.
Method RemoveTrackTimeDisplay Remove a single animation track time string from the display.
Method RestoreViewerStates Restore the current state of the viewers.
Method SaveViewerStates Save the current state of the viewers.
Read-only property SpatialBookmarks The spatial bookmarks that can be used to define animations.
Read-only property ViewController The controller object (Camera) of a viewer.
Read-only property WindowHandle The window handle associated with the given view.

CoClasses that implement IAGAnimationContainer

CoClasses and Classes Description
Globe (esriGlobeCore) A container for the display and manipulation of data in the Globe.
MapAnimationContainer (esriAnimationUI) The map animation container.


An animation container represents the application or control which supports the animation extension. The IAGAnimationContainer interface mainly contains properties and methods in getting and refreshing the view(s) of the application or control.

.NET Snippets

Create Animation from Keyframes | Create Animation from Path | Create Group Layer Animation

.NET Samples

Visualizing the camera path while animating (Code Files: VisualizeCameraPath) | Layer effects animation in ArcMap (Code Files: AnimationTypeLayerEffects MapLayerEffectsKeyframe) | Move a graphic along a path in ArcMap (Code Files: AnimationTypeMapGraphic AnimationUtils frmCreateGraphicTrackOptions MapGraphicKeyframe) | Create camera flyby from path (Code Files: frmCameraPath)

.NET Related Topics

How to animate the camera along a path (line feature) in globe