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 subscribe to IFullImageSubscription. If you do 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.

You can see if the camera is ready to trigger a capture, by examining the Ready For Capture property.

Parameters:

SdkException

SdkException with the error-code if something goes wrong.

See also:

Subscriptions, IFullImageSubscription