←Select platform

BarWidthReduction Property

Gets and sets the bar width reduction value of this barcode in micrometer when reading 1D barcodes.
public virtual int BarWidthReduction { get; set; } 
Public Overridable Property BarWidthReduction As Integer 
virtual property int BarWidthReduction { 
   int get(); 
   void set (    int ); 

Property Value

The bar width reduction value of this barcode in micrometer for each black bar. The default value is 0.


Reading Barcodes

The BarcodeReader.ReadBarcode or BarcodeReader.ReadBarcodes methods are used to read a barcode or more from an image. Each of these methods returns an object or an array of objects of type BarcodeData for each barcode found. Inside each object, the value of the BarWidthReduction property will be set in micrometer by the BarcodeReader object, referring to the bar width reduction value of the barcode. If the barcode bars has not been reduced, the value will be 0.

Bar Width Reduction is the amount by which each black bar width in the symbol is reduced to accommodate pressure on the printing plate and ink expansion/absorption by the substrate (paper) when the barcode is printed.

A negative value indicates a gain for each bar not a reduction.

For a tutorial, refer to Reading Barcodes Tutorial.

Writing Barcodes

The BarWidthReduction property is not used when writing barcodes and the value set in this property will be ignored by the BarcodeWriter object.

For a tutorial, refer to Writing Barcodes Tutorial.


Target Platforms

Help Version 21.0.2021.4.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly