GetVideoFrameCount (DVR version only)
Top  Previous  Next

Description

Returns the number of frames in the currently open video file.


Syntax


[VB]
Value=objActiveGige.GetVideoFrameCount()


[C/C++]
HRESULT GetVideoFrameCount(long* pValue );


Data Types
[VB]

Return value: Long


Parameters
[C/C++]

pValue [out,retval]  
Pointer to the number of frames  


Return Values


S_OK  
Success  
E_FAIL  
Failure  
 

Example


This VB example displays the number of frames in a TIFF video file.

ActiveGige1.OpenVideo "c:\\sequence.tif"
value=ActiveGige1.GetVideoFrameCount()
MsgBox value