TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCSetNotchHeight ( t_BarCode pBarCode,
LONG  nHeight 
)

Sets the additional length of the synchronization bars (notches).

The term "notch" describes the synchronization bars used in some symbologies (like EAN, UPC, JAN, ...). These notches are a little bit longer than normal bars. The original length of these synchronization bars is determined by TBarCode automatically. Use this function to specify an additional length of these bars.

Note:
The notch height does not affect the barcode size calculation. So it is recommended that you don't let the notches exceed the barcode size.
Though negative notch heights are allowed, it is recommended to use positive values only.
See also:
BCGetNotchHeight()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]nHeightAdditional notch height [1/1000 mm] (-1 ... reset to default).
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.