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

IAnimationTrack.InsertKeyframe Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IA > IAnimationTrack Interface > IAnimationTrack.InsertKeyframe Method
ArcGIS Developer Help

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