Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Barcode Namespace > BarcodeData Class : BarWidthReduction Property |
[BrowsableAttribute(false)] public virtual int BarWidthReduction {get; set;}
'Declaration
<BrowsableAttribute(False)> Public Overridable Property BarWidthReduction As Integer
'Usage
Dim instance As BarcodeData Dim value As Integer instance.BarWidthReduction = value value = instance.BarWidthReduction
[BrowsableAttribute(false)] public virtual int BarWidthReduction {get; set;}
BrowsableAttribute() <br/>get_BarWidthReduction();<br/>set_BarWidthReduction(value);<br/>Object.defineProperty('BarWidthReduction');
[BrowsableAttribute(false)] public: virtual property int BarWidthReduction { int get(); void set ( int value); }
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.
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.