Barcode Xpress for Linux v14.0 - Updated
API Reference / Barcode Component API Reference / Barcode Component Enumerations Reference / BX_BarcodeType
In This Topic
    BX_BarcodeType
    In This Topic

    Specifies the types of barcodes that can be searched for or created.

    Values:

    Name Value
    BX_BarcodeType_Unknown 0x00000000
    BX_BarcodeType_Add2 0x00020000
    BX_BarcodeType_Add5 0x00010000
    BX_BarcodeType_AustralianPost4State 0x10000000
    BX_BarcodeType_Aztec 0x20000000
    BX_BarcodeType_BCDMatrix 0x00000020
    BX_BarcodeType_Codabar 0x00000200
    BX_BarcodeType_Code32 0x00000080
    BX_BarcodeType_Code39 0x00000100
    BX_BarcodeType_Code39Ext 0x00800000
    BX_BarcodeType_Code93 0x00000400
    BX_BarcodeType_Code93Ext 0x01000000
    BX_BarcodeType_Code128 0x00000800
    BX_BarcodeType_DataLogic2of5 0x00000008
    BX_BarcodeType_DataMatrix 0x00400000
    BX_BarcodeType_EAN8 0x00002000
    BX_BarcodeType_EAN13 0x00001000
    BX_BarcodeType_EAN128 0x00040000
    BX_BarcodeType_GS1Databar 0x40000000
    BX_BarcodeType_IATA2of5 0x00000004
    BX_BarcodeType_Industrial2of5 0x00000001
    BX_BarcodeType_IntelligentMail 0x04000000
    BX_BarcodeType_Interleaved2of5 0x00000002
    BX_BarcodeType_Inverted2of5 0x00000010
    BX_BarcodeType_MicroPDF417 0x100000000
    BX_BarcodeType_Matrix2of5 0x00000040
    BX_BarcodeType_PatchCode 0x00080000
    BX_BarcodeType_PDF417 0x00200000
    BX_BarcodeType_Planet 0x200000000
    BX_BarcodeType_PostNet 0x00100000
    BX_BarcodeType_QRCode 0x02000000
    BX_BarcodeType_RoyalPost4State 0x08000000
    BX_BarcodeType_UPCA 0x00004000
    BX_BarcodeType_UPCE 0x00008000
    BX_BarcodeType_UPU4State 0x80000000
    BX_BarcodeType_All1D BX_BarcodeType_Add2
    BX_BarcodeType_Add5
    BX_BarcodeType_AustralianPost4State
    BX_BarcodeType_BCDMatrix
    BX_BarcodeType_Codabar
    BX_BarcodeType_Code32
    BX_BarcodeType_Code39
    BX_BarcodeType_Code39Ext
    BX_BarcodeType_Code93
    BX_BarcodeType_Code93Ext
    BX_BarcodeType_Code128
    BX_BarcodeType_DataLogic2of5
    BX_BarcodeType_EAN8
    BX_BarcodeType_EAN13
    BX_BarcodeType_EAN128
    BX_BarcodeType_GS1Databar
    BX_BarcodeType_IATA2of5
    BX_BarcodeType_Industrial2of5
    BX_BarcodeType_IntelligentMail
    BX_BarcodeType_Interleaved2of5
    BX_BarcodeType_Inverted2of5
    BX_BarcodeType_Matrix2of5
    BX_BarcodeType_PatchCode
    BX_BarcodeType_Planet
    BX_BarcodeType_PostNet
    BX_BarcodeType_RoyalPost4State
    BX_BarcodeType_UPCA
    BX_BarcodeType_UPCE
    BX_BarcodeType_UPU4State
    BX_BarcodeType_All2D BX_BarcodeType_Aztec
    BX_BarcodeType_DataMatrix
    BX_BarcodeType_PDF417
    BX_BarcodeType_QRCode
    BX_BarcodeType_MicroPDF417
    BX_BarcodeType_All BX_BarcodeType_All1D
    BX_BarcodeType_All2D

    Remarks:

    You can search for:

    • any single barcode type or a combination of barcode types.
    • multiple barcode types by binary ORing together the values from this enumeration.

    The default value is Unknown Barcode type (all 1D barcodes).

    By default, the barcode engine will search for all 1D barcodes. The 1D barcode set includes all types, except PatchCodeBarcode, PostNetBarcode, GS1 DataBar, IntelligentMail, Royal Post Mail 4-State, Australian Post 4-State, QR Code, PDF417Barcode, Aztec and DataMatrixBarcode.

    If an unknown barcode type and a specified barcode type are flagged, then only the specified barcode type is searched for. For example, if you flagged both BX_BarcodeType_Unknown and BX_BarcodeType_Aztec, only BX_BarcodeType_Aztec is detected.

    If you search for BX_BarcodeType_PatchCode and another barcode type, only the other barcode type will be searched for. To search for BX_BarcodeType_PatchCode, it must be the only specified barcode type.

    The barcode recognition engine is capable of detecting 1D barcodes in an image without any prior knowledge of the barcode type. However, you can speed up the recognition process by specifying a barcode type.