TBarCode Library 11  TBarCode Library 11

◆ BCGetBearerBarWidth()

LONG TECIT_STDCALL BCGetBearerBarWidth ( t_BarCode pBarCode)

Gets the current width of the bearer bars.

By default, bearer bars are deactivated (#eBearerBar_None). To activate bearer bars the bearer bar type has to be set to #eBearerBar_TopAndBottom or #eBearerBar_Rectangle. The bearer bar width has to be set to -1 for the default minimum bearer bar width or a value > 0.
The vertical bearer bar is only displayed, if you have set a quiet zone at left and right >= 12 modules (the quiet zone is necessary to keep the bar code readable).

Parameters
[in]pBarCodePointer to barcode structure.
Returns
The width of the bearer bars in 1/1000 mm or -1 if the default minimum bearer bar width is used.
Remarks
Usually bearer bars are used with ITF-14 only. The bearer bar was introduced to equalize the pressure exerted by the printing plate over the entire surface of soft materials. It also enhances reading reliability by helping to reduce the probability of misreads by skewed scanning beams.
Bearer-bars are usually drawn below and above the barcode (ITF-14) and are used to avoid partial scans. They can be also drawn as a rectangle. For some barcode symbologies with synchronization bars (like EAN8) you must not enable bearer bars.
See the Barcode Reference for more information.
See also
BCSetBearerBarWidth(), BCGetBearerBarType(), BCSetBearerBarType()

© 2023 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Apr 10 2024 13:55:57 for TBarCode Library 11 with doxygen 1.9.1