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 _
public void InsertKeyframe (
    IAGKeyframe pKeyframe,
    int index
HRESULT InsertKeyframe(
  IAGKeyframe* pKeyframe,
  long index


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

Creating a layer animation in globe