This is an old documentation. Go to the latest Customer's Canvas docs

BarcodeFormat Enumeration

An enumeration of barcode formats.

example
configuration = {
    autoLoadUserInfo: true,
    userInfo: {
        "Ean 8": {
            "BarcodeFormat": "EAN_8",
            "BarcodeValue": "1234567"
        },
        "Ean 13": {
            "BarcodeFormat": "EAN_13",
            "BarcodeValue": "123456789012"
        },
        "Qr Code": {
            "BarcodeFormat": "QR_CODE",
            "BarcodeSubType": "Url",
            "Url": "https://example.com"
        }
    }
};

Enumeration members

CODE_128

CODE_128: = "CODE_128"

Design element representing a barcode in the Code 128B format.

DATA_MATRIX

DATA_MATRIX: = "DATA_MATRIX"

Design element representing a DataMatrix code.

EAN_13

EAN_13: = "EAN_13"

Design element representing a linear EAN-13 code.

EAN_8

EAN_8: = "EAN_8"

Design element representing a linear EAN-8 code.

IMB

IMB: = "IMB"

Design element representing an Intelligent Mail barcode.

QR_CODE

QR_CODE: = "QR_CODE"

Design element representing a Qr code. Together with Qr codes, you can specify BarcodeSubType.

UPC_A

UPC_A: = "UPC_A"

Design element representing a 13-digit UPC-A code.

UPC_E

UPC_E: = "UPC_E"

Design element representing an 8-digit UPC-E code.