Contents
- Index
- Previous
- Next
Security property
See also Example
Applies to
TCustomEan component
Declaration
property Security: Boolean;
Description
It determines the way how to enlarge the bar code width from the basic capacity on required one.
If Security=True is set then each pixel of a bar code is enlarged in entire multiples. It means that a ratio between the width of simple and double, triple and multi wide lines or breaks , will be kept. At the same time it means that a part of a picture on the right may be empty. Look at the example.
If Security=False is set then the entire space will be completed for a bar code but at the same time it may happen, that a ratio of some components will slightly change. It may cause problems in code reading, specially if input equipment with small DPI has been used. Look at the example.
This is the very important property if you work with small bar code width. Bar code printing and reading technology requires relatively accurate ratio between line unit width, or break and its multiples. Generally, the tolerance 10-30% is allowed. If you print a bar code so that a simple line will be one pixel wide, and double - 3 pixels, the code will become unreadable. It will happen when the field width for a bar code printing is of different size as an entire multiple of minimum bar code width .
The larger error in reducing or expanding of the basic bar code picture the smaller field width when strain appears. That is why, generally, this error does not mean problem e.g. with laser printer printing with large DPI.
It is significant in exporting into graphic files, that is why we recommend to set Securiy=True.
Run-time only