Table of Contents

TTMSFNCWXCustomBarcodeDecoderBase Class

Base class that decodes barcodes from a file, an in-memory image, a base64 data stream, or live camera frames, and exposes the shared decode and scanning behavior reused by the concrete decoder components.

API unit family: TMSFNCWXBarcodeDecoder Inherits from: TTMSFNCCustomWEBComponent

Syntax

TTMSFNCWXCustomBarcodeDecoderBase = class(TTMSFNCCustomWEBComponent)

Remarks

When a camera is attached, the decoder hooks the camera lifecycle and snapshot events so each captured frame is decoded automatically until scanning is paused.

Methods

Name Description
DecodeFromBase64 Decodes the barcode contained in a base64-encoded image.
DecodeFromFile Reads an image from disk and decodes the barcode it contains.
DecodeFromImage Decodes the barcode contained in an in-memory bitmap.
PauseScanning Suspends continuous decoding of camera frames until scanning is resumed.
ResumeScanning Resumes continuous decoding of camera frames after a pause and immediately requests the next frame when a camera is running.