ArcObjects Library Reference (Animation)  

IAGAnimationTrackKeyframes.CreateKeyframe Method

Creates a new keyframe of the appropriate type and inserts it. If the index is -1, it is added last.

[Visual Basic .NET]
Public Function CreateKeyframe ( _
    ByVal index As Integer _
) As IAGKeyframe
[C#]
public IAGKeyframe CreateKeyframe (
    int index
);
[C++]
HRESULT CreateKeyframe(
  long index,
  IAGKeyframe** ppKeyframe
);
[C++]

Parameters

index [in]   index is a parameter of type long ppKeyframe [out, retval]

  ppKeyframe is a parameter of type IAGKeyframe

Product Availability

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

See Also

IAGAnimationTrackKeyframes Interface

.NET Samples

Move a graphic along a path in ArcMap (Code Files: AnimationUtils) |