←Select platform

BarWidthReduction Property

Summary

Gets and sets the bar width reduction value of this barcode in micrometer when reading 1D barcodes.

Syntax

C#
VB
C++
public virtual int BarWidthReduction { get; set; } 
<BrowsableAttribute(False)> 
Public Overridable Property BarWidthReduction As Integer 
[BrowsableAttribute(false)] 
public: 
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.

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2018.1.19
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly