This document is archived and information here might be outdated.  Recommended version.


IAnimationTrack.InsertKeyframe Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

IAnimationTrack.InsertKeyframe Method

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

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

Parameters pKeyframe [in]
pKeyframe is a parameter of type IKeyframe index [in] index is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IAnimationTrack Interface