TBarCode Library 11  TBarCode Library 11
ERRCODE TECIT_STDCALL BCSetBarWidthReduction ( t_BarCode pBarCode,
DOUBLE  dValue,
e_MUnit  eUnit 
)

Sets bar-width (Pixel-Shaving) reduction in given unit.

Specifies the reduction of the bar-widths. The width of a bar in the barcode is reduced by the given value in the given unit. This property is useful when printing on ink jet printers: On such printers the bars appear wider than specified because the ink spreads a little bit. You can compensate this effect by setting a bar-width reduction (also called "Pixel Shaving") to an suitable value. You have to play around to find suitable settings because this effect depends on the printer, on the used paper, and on the ink. The printed module-width is equal to the theoretically optimal module-width reduced by the reduction value.

See also
BCGetBarWidthReduction(), BCGetBarWidthReductionUnit()
Parameters
[in]pBarCodePointer to barcode structure.
[in]dValueReduction in given unit (0 ... reset to default ==> no reduction).
[in]eUnitReduction unit (valid values are: eMUMM, eMUMils, eMUInch, and eMUPercent).
Return values
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.

© 2019 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Thu Apr 11 2019 07:58:56 for TBarCode Library 11 with doxygen 1.8.8