This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IA > IAGAnimationUtils Interface > IAGAnimationUtils.CalculateDisplayFrames Method (ArcObjects .NET 10.4 SDK) |
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
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.