Barcode Plugin for Xojo

EinhugurBarcodes.Decoder Class (console safe)

A class to decode barcodes and QR-codes.

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

Object
   Decoder

class EinhugurBarcodes.Decoder

Constructors

Decoder (console safe) Constructor that takes no parameters.

Properties

EanAddOnSymbol (console safe) Sets or gets EanAddonSymbol which controls whether to ignore, read or require EAN-2/5 add-on symbols while scanning EAN/UPC codes.
Fast (console safe) If set to true then some lines/pixels are skipped during detection to increase speed.
IncludeResultsWithErrors (console safe) If set to true then decoder will include results with errors like for example checksum errors.
IsPure (console safe) If set to true then the decoder assumes the image contains only a pure / perfect code which makes decoding faster.
NoInvert (console safe) If set to true then the decoder will not search for inverted codes which makes the decoder faster.
NoRotate (console safe) If set to true then the decoder will not search for rotated codes which makes the decoder faster.
NoScale (console safe) If set to true then the decoder will not try to downscale images during detection which can make the decoder faster.
TextMode (console safe) Sets or gets TextMode which controls the output of the Text property on the EinhugurBarcodes.DecoderResult class.

Methods

Detect (console safe) Detects a barcode or QRCode from a given RawBitMap.
DetectMultiple (console safe) Detects multiple barcodes at once.
DetectMultiple (console safe) Detects multiple barcodes at once. This variant has parameter to set maximum number of detected codes.
SetDetectTypes (console safe) Sets which types of codes should be detected.

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 Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS