Table of Contents

TTMSFNCWXCustomBarcodeDecoderBase.DecodeFromBase64 Method

Decodes the barcode contained in a base64-encoded image.

API unit family: TMSFNCWXBarcodeDecoder Declaring type: TTMSFNCWXCustomBarcodeDecoderBase

Syntax

procedure DecodeFromBase64(const ABase64: string; const ACallback: TTMSFNCWXCustomBarcodeDecodeCallBackEvent = nil); virtual;

Remarks

This is the central decode entry point that the file, image, and camera paths funnel into. Descendants override it to perform the actual decode.

Parameters

Name Description
ABase64 Base64-encoded image data, optionally prefixed with a data: URI scheme.
ACallback Optional callback invoked with the decode result; pass nil to rely on the OnDecoded event instead.