This is a generic way to get number of frames in a multipage file (GIF,TIFF,AVI,MPEG...) or a single page (JPEG,...).
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public static int GetFileFramesCount( string fileName )
Public Shared Function GetFileFramesCount ( _ fileName As String _ ) As Integer
public: static int GetFileFramesCount( String^ fileName )
Parameters
- fileName
- String
Input file path and name.