Code128
Mandatory properties
The following properties are available in addition to the common label object properties and common barcode properties.
| Property | Type | Description |
|---|---|---|
| type | string | Must be Code128. |
| text | string | Barcode data. May contain dynamic text. |
| barHeight | number | Bar height. |
Optional properties
The following properties are available in addition to the common barcode properties.
| Property | Type | Description |
|---|---|---|
| encoding | string | Encoding mode. Allowed values: AUTO, A, B, C. Default is AUTO. |
Example
{
"type": "Code128",
"x": 10.0,
"y": 10.0,
"text": "ABC-12345",
"barHeight": 15.0,
"barWidth": 0.3
}