Barcode128
| Argument | Type | Range | Default | Note |
|---|---|---|---|---|
| left | num | -inf..+inf | (required) | |
| top | num | -inf..+inf | (required) | |
| width | num | 0..inf | (required) | |
| height | num | 0..inf | (required) | |
| text | str | 0..100 | (required) | Max. 100 chars. |
| color | rgba | 0..255 | black |
Examples
Barcode128(10;10;200;50;"0123456789")
Barcode128(20;20;200;50;"ABCDEFGHIJKLM")
Barcode128(50;20;300;100;"X2max Software";darkBlue)
Description
The Barcode128() function makes it possible to create Code 128 barcodes.
Examples:
| | BARCODE_128_01 |
| 1 | /* Note: Using a high print resolution is recommended for all types of barcodes. */ |
| 2 | OpenDrawing(260;100;print) |
| 3 | Barcode128(20;20;220;60;"0123456789ABCDEF") |
| 4 |
| | BARCODE_128_02 |
| 1 | /* Note: Using a high print resolution is recommended for all types of barcodes. */ |
| 2 | OpenDrawing(260;100;print) |
| 3 | Barcode128(20;20;220;60;"0123456789ABCDEF") |
| 4 | AddText(130;95;"0123456789ABCDEF";Verdana;12;plain;black;center) |
| 5 |
| | BARCODE_128_03 |
| 1 | /* Note: Using a high print resolution is recommended for all types of barcodes. */ |
| 2 | OpenDrawing(140;250;print) |
| 3 | OpenView(-60;80;260;100;-90) /* Requires xmCHART 5 or higher. */ |
| 4 | Barcode128(20;20;220;60;"0123456789ABCDEF") |
| 5 | AddText(130;95;"0123456789ABCDEF";Verdana;12;plain;black;center) |
| 6 | /* Background() // Uncomment while positioning the barcode. */ |
| 7 | |
| 8 | /* Background() // Uncomment while positioning the barcode. */ |
| 9 |