EndPreview

Description

Ends preview mode for a camera device.

Applies to

Camera objects

Syntax

objectname.EndPreview ( )

Argument

Description

objectname

The name of the camera object that you want to inquire about

Returns

Integer. Returns 1 for success, and one of the following negative values if an error occurs:

Examples

Example 1

The following example ends the preview before closing the application:

li_rtn1 = g_myCamera.EndPreview()
li_rtn2 = g_camera.Close()

See also