OpenAVIFile open an AVI file, without read frames.
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public int OpenAVIFile( string fileName )
Public Function OpenAVIFile ( _ fileName As String _ ) As Integer
public: int OpenAVIFile( String^ fileName )
Parameters
- fileName
- String
Used to indicate the file path with extension
Return Value
Frame count contained in the AVIExamples
This sample shows how to load first frame of test1.avi
CopyC#
Image.OpenAVIFile("test1.avi") Image.LoadFromAVI(0); Image.CloseAVIFile();