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


IAGAnimationUtils.CalculateDisplayFrames Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Animation)  

IAGAnimationUtils.CalculateDisplayFrames Method

Calculate the number of frames to display based on the minimum animation interval.

[Visual Basic .NET]
Public Sub CalculateDisplayFrames ( _
    ByVal pTracks As IAGAnimationTracks, _
    ByRef pFrames As Integer _
)
[C#]
public void CalculateDisplayFrames (
    IAGAnimationTracks pTracks,
    ref int pFrames
);
[C++]
HRESULT CalculateDisplayFrames(
  IAGAnimationTracks* pTracks,
  System.Int32* pFrames
);
[C++]

Parameters pTracks [in]
pTracks is a parameter of type IAGAnimationTracks* pFrames [out]
pFrames is a parameter of type long*

Product Availability

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

Remarks

This utility function calculates the minimum number of frames required by a time animation to show every detail in the data. The calculation is based on the minimum time interval and the span of the time tracks. The input animation tracks are specified by pTracks, and the output number is stored in pFrames.

See Also

IAGAnimationUtils Interface