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


IAnimationProgressor.OpenPath Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IA > IAnimationProgressor Interface > IAnimationProgressor.OpenPath Method
ArcGIS Developer Help

IAnimationProgressor.OpenPath Method

Opens the AVI file specified in the path and displays its first frame. The AVI file specified must not contain audio.

[Visual Basic .NET]
Public Sub OpenPath ( _
    ByVal animationPath As String _
)
[C#]
public void OpenPath (
    string animationPath
);
[C++]
HRESULT OpenPath(
  BSTR animationPath
);
[C++]
Parameters
animationPath [in]

animationPath is a parameter of type BSTR

Product Availability

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

Description

Opens the specified *.avi file and displays the first frame. Use the Play method to play the other frames.

Remarks

You can use the default spinning globe for the animation progressor or specify your own animation file (.avi).

The IStatusBar::ShowProgressAnimation method provides a shortcut to the OpenPath and Show methods of the animation progressor.

See Also

IAnimationProgressor Interface | IStatusBar.ShowProgressAnimation Method