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

IVideoExporter.ExportAnimation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IV > IVideoExporter Interface > IVideoExporter.ExportAnimation Method
ArcGIS Developer Help

IVideoExporter.ExportAnimation Method

Export the animation into a video file.

[Visual Basic .NET]
Public Sub ExportAnimation ( _
    ByVal pTracks As IAGAnimationTracks, _
    ByVal pAnimEnv As IAGAnimationEnvironment, _
    ByVal pStatusBar As IStatusBar _
public void ExportAnimation (
    IAGAnimationTracks pTracks,
    IAGAnimationEnvironment pAnimEnv,
    IStatusBar pStatusBar
HRESULT ExportAnimation(
  IAGAnimationTracks* pTracks,
  IAGAnimationEnvironment* pAnimEnv,
  IStatusBar* pStatusBar
pTracks [in]

pTracks is a parameter of type IAGAnimationTracks* pAnimEnv [in]
pAnimEnv is a parameter of type IAGAnimationEnvironment* pStatusBar [in]
pStatusBar is a parameter of type IStatusBar*

Product Availability

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


Note that the animation exporting honors the animation environment settings. When exporting to an animation to a video, you need to specify the output file name and the CodecCode used in compression. Optionally, you can set other video properties such as the frame rate, quality, etc.
If you choose to use custom size for the video, first you need to set the UseCustomSize property to true before calling the PutCustomSize method.

See Also

IVideoExporter Interface