Xojo 2013r1 or later.

BarcodeDecoder Class (console safe)

A class to decode barcodes and QR-codes.

Supports:
Aztec
Codebar
Code 39
Code 93
Code 128
Data Matrix
EAN 8
EAN 13
ITF
PDF 417
QR Code
UPC A
UPC E

Object
   BarcodeDecoder

class BarcodeDecoder

Constructors

BarcodeDecoderConstructor that takes no parameters.

Properties

FindDetectionPoints (console safe) If set to true then the class will generate detection points when a code is found.

Methods

DetectBarcode (console safe) Detects a barcode or QRCode from a given RawBitMap, offering to optimise on what kinds of codes it should detect, as detecting all types of codes is slower than just some types.
DetectBarcode (console safe) Detects a barcode or QRCode from a given RawBitMap. This variation type will try to detect all types of codes.
SetRotationHelper (console safe) Assign a rotation helper class to this property if you want to automatically try to rotate the barcode to find it.

Enumerations

BarcodeTypeBarcodeType constants that are used in the BarcodeDecoderResult class.
DetectionTypeDetectionType constants to use with one of the variation of the DetectBarcode function.

Examples

Note that we cannot do support on why specific bar code might not scan since we use 3rd party library that handles the detection. We can only support cases that deal with the bridge from Xojo to the library.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM