←Select platform

BarWidthReduction Property

Summary
Gets and sets the bar width reduction value of this barcode in micrometer when reading 1D barcodes.
Syntax
C#
Objective-C
C++/CLI
Python
public virtual int BarWidthReduction { get; set; } 
@property (nonatomic, assign) NSInteger barWidthReduction; 
[BrowsableAttribute(false)] 
public: 
virtual property int BarWidthReduction { 
   int get(); 
   void set (    int ); 
} 
BarWidthReduction # get and set (BarcodeData) 

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 one of the Extract Barcodes Tutorials.

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 one of the Write Barcodes Tutorials.

Requirements

Target Platforms

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

Leadtools.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.