Ends preview mode for a camera device.
Camera objects
objectname.EndPreview ( )
Argument |
Description |
---|---|
objectname |
The name of the camera object that you want to inquire about |
Integer. Returns 1 for success, and one of the following negative values if an error occurs:
The following example ends the preview before closing the application:
li_rtn1 = g_myCamera.EndPreview() li_rtn2 = g_camera.Close()