TTMSFNCWXCustomCamera.TakeSnapshot Method
Captures a still image from the current camera stream.
API unit family: TMSFNCWXCamera
Declaring type: TTMSFNCWXCustomCamera
Syntax
procedure TakeSnapshot(AFormat: TTMSFNCWXCameraImageFormat = ifPNG);
Remarks
The captured image is delivered through OnSnapshot and OnSnapshotBase64.
Parameters
| Name | Description |
|---|---|
AFormat |
The image encoding to use for the captured frame. Defaults to ifPNG. |