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


IAGAnimationTrackKeyframes.InsertKeyframe Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IA > IAGAnimationTrackKeyframes Interface > IAGAnimationTrackKeyframes.InsertKeyframe Method
ArcGIS Developer Help

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