Determines whether the device is ready to capture an image.
Camera objects
objectname.IsReadyToCapture ( )
Argument |
Description |
---|---|
objectname |
The name of the camera object that you want to inquire about |
Boolean. Returns true if the device is ready to capture an image and false otherwise.
Use the IsReadyToCapture function to determine whether the camera device is ready to capture an image.
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