ArcObjects Library Reference (Animation)  

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 _
)
[C#]
public void ExportAnimation (
    IAGAnimationTracks pTracks,
    IAGAnimationEnvironment pAnimEnv,
    IStatusBar pStatusBar
);
[C++]
HRESULT ExportAnimation(
  IAGAnimationTracks* pTracks,
  IAGAnimationEnvironment* pAnimEnv,
  IStatusBar* pStatusBar
);
[C++]

Parameters

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.

Remarks

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