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


IAGAnimationUtils.CaptureCurrentView Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Animation)  

IAGAnimationUtils.CaptureCurrentView Method

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

Product Availability

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

Remarks

This utility function captures a current view extent into a map view keyframe and add it to the animation track container (pTracks).

See Also

IAGAnimationUtils Interface

.NET Snippets

Create Animation from View