This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IA > IAnimationProgressor Interface > IAnimationProgressor.OpenPath Method (ArcObjects .NET 10.4 SDK) |
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
Opens the specified *.avi file and displays the first frame. Use the Play method to play the other frames.
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.
IAnimationProgressor Interface | IStatusBar.ShowProgressAnimation Method