ArcObjects Library Reference (Animation)  

IAGAnimationTrackKeyframes.InsertKeyframe Method

Inserts a new keyframe. If the index is -1, it is added last.

[Visual Basic .NET]
Public Sub InsertKeyframe ( _
    ByVal pKeyframe As IAGKeyframe, _
    ByVal index As Integer _
)
[C#]
public void InsertKeyframe (
    IAGKeyframe pKeyframe,
    int index
);
[C++]
HRESULT InsertKeyframe(
  IAGKeyframe* pKeyframe,
  long index
);
[C++]

Parameters

pKeyframe [in]

  pKeyframe is a parameter of type IAGKeyframe

index [in]   index is a parameter of type long

Product Availability

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

See Also

IAGAnimationTrackKeyframes Interface

.NET Snippets

Create Animation by Interpolating Between Two Keyframes |

.NET Related Topics

How to create a layer animation in globe |