ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / Animation Property

In This Topic
    Animation Property (MapView)
    In This Topic
    Gets the animation for the view.
    Syntax
    public ViewAnimation Animation {get;}
    Public ReadOnly Property Animation As ViewAnimation
    Remarks
    This property will return null if the map's Map.Animation contains no keyframes. Similar to how the map defines the layers that make up the map, the map defines the animation and the keyframes for all views of the map. However, it is possible to have multiple views of a map set to different times in the animation. This property returns an object can be used to set the current time or frame, step to the next or previous keyframe, or play and stop the animation.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also