IsReadyToCapture

Description

Determines whether the device is ready to capture an image.

Applies to

Camera objects

Syntax

objectname.IsReadyToCapture ( )

Argument

Description

objectname

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

Returns

Boolean. Returns true if the device is ready to capture an image and false otherwise.

Usage

Use the IsReadyToCapture function to determine whether the camera device is ready to capture an image.

Examples

Example 1

The following statements determine whether the device is ready to capture an image and, if it is, use the CaptureImage function to capture the image:

boolean lb_query
integer li_return
lb_query = g_myCam.IsReadyToCapture()
if lb_query = true then
   li_return = g_myCam.CaptureImage("\myPic.jpeg")
end if

See also