This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IA > IAGAnimationUtils Interface > IAGAnimationUtils.CaptureCurrentView Method (ArcObjects .NET 10.4 SDK) |
Creates a keyframe to capture the current view and adds it to the current animation.
[Visual Basic .NET] Public Sub CaptureCurrentView ( _ ByVal pTracks As IAGAnimationTracks, _ ByVal pEnvironment As IAGAnimationEnvironment _ )
[C#] public void CaptureCurrentView ( IAGAnimationTracks pTracks, IAGAnimationEnvironment pEnvironment );
[C++]
HRESULT CaptureCurrentView(
IAGAnimationTracks* pTracks,
IAGAnimationEnvironment* pEnvironment
);
[C++]
Parameters pTracks [in]
pTracks is a parameter of type IAGAnimationTracks pEnvironment [in]
pEnvironment is a parameter of type IAGAnimationEnvironment
This utility function captures a current view extent into a map view keyframe and add it to the animation track container (pTracks).