Table of Contents

TTMSFNCWXBarcodeDecoder Class

Component that decodes barcodes from images, files, base64 data, or a live camera feed, publishing the symbology, camera, library location, and decode notifications for design-time configuration.

API unit family: TMSFNCWXBarcodeDecoder Inherits from: TTMSFNCWXCustomBarcodeDecoder

Syntax

TTMSFNCWXBarcodeDecoder = class(TTMSFNCWXCustomBarcodeDecoder)

Remarks

Assign Camera for continuous scanning, set BarcodeType to the symbology to detect, and handle OnDecoded to receive results.

Properties

Name Description
BarcodeType Symbology the decoder attempts to recognize. (inherited from TTMSFNCWXCustomBarcodeDecoder)
Camera Camera whose captured frames are decoded as a continuous scanning source. (inherited from TTMSFNCWXCustomBarcodeDecoderBase)
LibraryLocation Selects whether the decoding library is loaded from its online source or from the bundled offline copy. (inherited from TTMSFNCWXCustomBarcodeDecoder)

Methods

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

Events

Name Description
OnDecoded Occurs after each decode attempt completes, reporting whether a barcode was found and its decoded value. (inherited from TTMSFNCWXCustomBarcodeDecoderBase)