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


IAGAnimationTrackKeyframes.CreateKeyframe 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.CreateKeyframe Method
ArcGIS Developer Help

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
);
[C++]
Parameters
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 Samples

Move a graphic along a path in ArcMap