FrameLoaded
Top  Previous  Next

Description

This event is fired each time a frame has been loaded from a video file or memory sequence during the playback (PlayVideo). It is also fired when the image is loaded from an image file (LoadImage).


Syntax


[VB]
Private Sub objActiveDcam_FrameLoaded(ByVal Frame As Long)

[C/C++]
HRESULT Fire_FrameLoaded();


Data Types
[VB]

Frame: long  


Parameters
[C/C++]

Frame  
      The zero-based index of the last loaded frame.


Return Values


S_OK  
Success  
E_FAIL  
Failure.  


Example


This VB example uses the FrameLoaded event to update a sequence frame counter:

Private Sub ActiveDcam1_FrameLoaded((ByVal Frame As Long))  
Label1.Caption = Frame  
End Sub  
 

Remarks