Common barcode properties
The following properties are shared by all linear and stacked barcode types that inherit from BarcodeBase: Code128, GS1-128, GS1-128-Plain, Code128-ZPL, Code39, EAN-13, EAN-8, UPC-A, ITF, and ITF-14.
These types also inherit all common label object properties.
Mandatory properties
| Property | Type | Description |
|---|---|---|
| barHeight | number | Bar height. |
Optional properties
| Property | Type | Description |
|---|---|---|
| barWidth | number | Width of the narrowest bar element. Default is 1. |
| quietZone | boolean | Enable or disable the quiet zone. Default is true. |
| extraQuietZone | number | Extra quiet zone width added on all sides, in addition to the standard quiet zone. |
| debleed | number | Ink spread compensation. Reduces each bar width by this amount to counteract ink bleeding. |
| barColor | string | Color of the bars. May contain dynamic text. Default is black. |
| textColor | string | Color of the human-readable text below the barcode. Defaults to the value of barColor. |
| font | Font | Font for the human-readable text below the barcode. |