Captures an image.
If the function is executed asynchronously, it will first trigger the event onPreCapture, then the capture operation, and finally, trigger the event onPostCapture. Before the event onPostCapture is triggered, the captured image will be added to the current DcsView buffer.
Make sure the current camera is open before calling this method. You can open the camera via preview method.
|License verfication failed.||DcsLicenseVerificationFailedException|
|The capture mode is not DME_IMAGE.||DcsOnlySupportedUnderImageModeException|
|The access to the camera is not authorized.||DcsCameraNotAuthorizedException|
|The current camera is not open.||DcsOperationSequenceExeption|