Camera.TriggerCapture Method

Definition

Namespace: P1Sdk

Take a picture with the camera

public void TriggerCapture();

This method triggers the camera to take a picture, with its current settings and mode.

If you with to receive the picture taken, you must first call EnableImageReceiving(bool) and set it to true. If not, the triggering will fail if there is no storage media in the camera.

Be aware that actual triggering might also fail for a couple of other reasons. If need to listen for the trigger event notification, to be sure that triggering occured.

Parameters:

SdkException

SdkException with the error-code if something goes wrong.

See also:

EnableImageReceiving(bool), WaitForImage