BarcodeFormat

Describe the format/type of a barcode.

Syntax

    const __int64 CODE_39   = 0x1L;
    const __int64 CODE_128  = 0x2L;
    const __int64 CODE_93   = 0x4L;
    const __int64 CODABAR   = 0x8L;
    const __int64 ITF       = 0x10L;
    const __int64 EAN_13    = 0x20L;
    const __int64 EAN_8     = 0x40L;
    const __int64 UPC_A     = 0x80L;
    const __int64 UPC_E     = 0x100L;
    const __int64 INDUSTRIAL_25 = 0x200L;
    const __int64 OneD      = 0x3FFL;
    const __int64 PDF417    = 0x2000000L;
    const __int64 QR_CODE   = 0x4000000L;
    const __int64 DATAMATRIX = 0x8000000L;

Remarks

Allowed Values Barcode Type
CODE_39 | 0x1 Code 39
CODE_128 | 0x2 Code 128
CODE_93 | 0x4 Code 93
CODABAR | 0x8 Codabar
ITF | 0x10 Interleaved 2 of 5
EAN_13 | 0x20 EAN-13
EAN_8 | 0x40 EAN-8
UPC_A | 0x80 UPC-A
UPC_E | 0x100 UPC-E
INDUSTRIAL_25 | 0x200 Industrial 2 of 5
OneD | 0x3FF One-D barcode
PDF417 | 0x2000000 PDF417
QR_CODE | 0x4000000 QRCode
DATAMATRIX | 0x8000000 DATAMATRIX

Example

ReaderOptions optionsn = {0};
options.iMaxBarcodeNumPerPage = 100;
options.llBarcodeFormat = (OneD | QR_CODE | PDF417 | DATAMATRIX);

See Also

C > Structs > ReaderOptions
C > Structs > BarcodeResultArray
C > Function > DecodeBuffer
C > Constant > BarcodeFormat
C > Constant > Error List