ITF
Interleaved 2-of-5 barcode. Encodes pairs of digits; the data string must have an even number of digits.
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 ITF. |
| text | string | Even number of digits. 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 |
|---|---|---|
| barRatio | number | Ratio of the wide bar to the narrow bar width. Default is 2.5. |
| hBearerBar | number | Width of horizontal bearer bars (top and bottom frame bars), in multiples of barWidth. Default is 0 (no bearer bars). |
| vBearerBar | number | Width of vertical bearer bars (left and right frame bars), in multiples of barWidth. Default is 0. |
Example
{
"type": "ITF",
"x": 10.0,
"y": 10.0,
"text": "12345678",
"barHeight": 15.0,
"barWidth": 0.5
}