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,
long* 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.