StopCapture
Top  Previous  Next

Description

Stops video capture to an AVI file or series of images.


Syntax


[VB]
objActiveGige.StopCapture

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



Parameters

None  


Return Values


S_OK  
Success  
E_FAIL  
Failure  


Example


This VB example demonstrates how to capture the video to an AVI file with 0.5 sec time lapse between the frames.

Private Sub
StartButton_Click()
ActiveGige1.StartCapture "c:\mycapture.avi", 0.5

End Sub


Private Sub
StopButton_Click()
ActiveGige1.StopCapture

End Sub


Remarks

Use this method to end the video capture initiated by StartCapture. The CaptureCompleted event will be generated when this method is called.