Contents
- Index
- Previous
- Next
Bar code property
See also Example
Applies to
TCustomEan component
Declaration
property BarCode: string;
Description
The most important value together with the TypBarcode value. It determines a very code chain. After this value assignment a bar code is immediately redrawn. Each symbol of an assigned chain must be in a character package for a selected code type.
If you use the codes Ean and their derived ones, with two or five additional numbers, please, use the shape '1234567890123 12' or '1234567890123 12345'. The check number(13. in sequence) will be automatically corrected.
If a bar code or red hatched lines are not drawn, try to enlarge the bar code width. Look also at the MinWidth method.
With most of code types it means one-row string. With PDF417 you can use a sequence
Ean.Barcode := 'first line' #13 'second line' #13 'Third line...';