---
title: "BarcodeFormat Enumeration"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.editor.barcodeformat.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# BarcodeFormat Enumeration

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
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](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.editor.barcodesubtype.htm.md).
 
### 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.
