Skip to main content
Table of Contents

TTMSFNCWXCustomCamera.TakeSnapshot Method

Captures a still image from the current camera stream.

API unit family: TMSFNCWXCamera Declaring type: TTMSFNCWXCustomCamera

Syntax

FMX.TMSFNCWXCamera.hppPascalC++
procedure TakeSnapshot(AFormat: TTMSFNCWXCameraImageFormat = ifPNG);
void __fastcall TakeSnapshot(TTMSFNCWXCameraImageFormat AFormat = (TTMSFNCWXCameraImageFormat)(0x1));

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.