Foundation (ZXBarcode.dll) 14.0
Data Types

Data Structures

struct  TZXResult
 

Enumerations

enum  TZXBarcodeFormats {
  ZXBF_None = 0 , ZXBF_Codabar = 1 , ZXBF_Code39 = 2 , ZXBF_Code93 = 4 ,
  ZXBF_Code128 = 8 , ZXBF_Ean8 = 16 , ZXBF_Ean13 = 32 , ZXBF_Interleaved2of5 = 64 ,
  ZXBF_Rss14 = 128 , ZXBF_RssExpanded = 256 , ZXBF_UpcA = 512 , ZXBF_UpcE = 1024 ,
  ZXBF_UpcEanExtension = 2048 , ZXBF_All1D = 65535 , ZXBF_Aztec = 65536 , ZXBF_Datamatrix = 131072 ,
  ZXBF_Maxicode = 262144 , ZXBF_Pdf417 = 524288 , ZXBF_Qr = 104865576 , ZXBF_All2D = -65535 ,
  ZXBF_All = -1
}
 
enum  TZXBinarizerMode { ZXB_Histogram , ZXB_Hybrid }
 
enum  TZXReaderMode { ZXRM_Default , ZXRM_TryHarder }
 

Detailed Description

Enumeration Type Documentation

◆ TZXBarcodeFormats

Possible code symbologies for the ZXBarcode library function ZXReadCode/ZXReadMultipleCodes to read. If ZXReadCode/ZXReadMultipleCodes should be capable of reading different codes then please concatenate the respective enum values using bit-wise or.

Enumerator
ZXBF_None 

No code symbology defined.

ZXBF_Codabar 

Codabar 1D code (see https://en.wikipedia.org/wiki/Codabar). Example:

ZXBF_Code39 

Code 39 1D code (see https://en.wikipedia.org/wiki/Code_39). Example:

ZXBF_Code93 

Code 93 1D code (see https://en.wikipedia.org/wiki/Code_93). Example:

ZXBF_Code128 

Code 128 1D code (see https://en.wikipedia.org/wiki/Code_128). Example:

ZXBF_Ean8 

EAN 8 1D code (see https://en.wikipedia.org/wiki/EAN-8). Example:

ZXBF_Ean13 

EAN 13 1D code (see https://en.wikipedia.org/wiki/International_Article_Number). Example:

ZXBF_Interleaved2of5 

Interleaved 2 of 5 (ITF) 1D code (see https://en.wikipedia.org/wiki/Interleaved_2_of_5). Example:

ZXBF_Rss14 

RSS 14 1D code. Example:

ZXBF_RssExpanded 

RSS Expanded 1D code. Example:

ZXBF_UpcA 

Universal Product Code (UPC-A) 1D code (see https://en.wikipedia.org/wiki/Universal_Product_Code). Example:

ZXBF_UpcE 

Universal Product Code (UPC-E) 1D code (see https://en.wikipedia.org/wiki/Universal_Product_Code). Example:

ZXBF_UpcEanExtension 

Extended Universal Product 1D Code.

ZXBF_All1D 

Combine all known 1D codes.

ZXBF_Aztec 

Aztec 2D code (see https://en.wikipedia.org/wiki/Aztec_Code). Example:

ZXBF_Datamatrix 

Data Matrix 2D code (see https://en.wikipedia.org/wiki/Data_Matrix). Example:

ZXBF_Maxicode 

Maxicode 2D code (see https://en.wikipedia.org/wiki/MaxiCode). Example:

ZXBF_Pdf417 

PDF417 2D code (see https://en.wikipedia.org/wiki/PDF417). Example:

ZXBF_Qr 

Quick Response (QR) code (see https://en.wikipedia.org/wiki/QR_code). Example:

ZXBF_All2D 

Combine all known 2D codes.

ZXBF_All 

Combine all known codes.

◆ TZXBinarizerMode

Available binarization modes for the ZXBarcode library.

Enumerator
ZXB_Histogram 

Binarization mode in which a global threshold is being applied to the image. The global threshold is automatically calculated based on the area of interest's histogram. This binarization mode is not as flexible as ZXB_Hybrid in that it cannot cope with inhomogeneous illumination. However the processing time of the histogram based binarization is much lower than that of the hybrid binarization mode.

ZXB_Hybrid 

Binarization mode that uses a local thresholding algorithm. The Hybrid binarization mode yields much better result than the global histogram mode if the illumination in the image is not homogeneous, but it also requires more CPU time.

◆ TZXReaderMode

Possible reader modes for the ZXBarcode library.

Enumerator
ZXRM_Default 

Use the regular default reader configuration for ZXing.

ZXRM_TryHarder 

Use a more thorough reader configuration for ZXing. Using this mode effectively calls a setTryHarder(true) on the ZXing DecodeHints object that is being used internally.