Class BarcodeReaderOptions
An Options class of BarcodeReader for reading many popular barcode formats from Images and PDFs.
Features: MaxParallelThreads, Reading detail, ExpectMultipleBarcodes, Crop-area, Image filters and preprocessing for improved accuracy.Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public class BarcodeReaderOptions : Object
Constructors
BarcodeReaderOptions()
Initializes a new instance of the BarcodeReader class.
Declaration
public BarcodeReaderOptions()
Properties
CropArea
The area of each image frame in which to scan for barcodes. A IronSoftware.Drawing.CropRectangle measured in pixels.
Declaration
public CropRectangle CropArea { get; set; }
Property Value
Type | Description |
---|---|
IronSoftware.Drawing.CropRectangle |
ExpectBarcodeTypes
The barcode encoding types to read from the InputImage. By default all supported barcodes types are scanned for. Choosing one or more specific Barcode formats will improve performance significantly.
Declaration
public BarcodeEncoding ExpectBarcodeTypes { get; set; }
Property Value
Type | Description |
---|---|
BarcodeEncoding |
ExpectMultipleBarcodes
If set to false
the barcode reader will stop scanning a given image once a barcode has been found to increase performance. Default true
Declaration
public bool ExpectMultipleBarcodes { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ImageFilters
A collection of image filter for processing Image. If a Code39 barcode is detected. Try to use extended mode for the full ASCII Character Set
Declaration
public ImageFilterCollection ImageFilters { get; set; }
Property Value
Type | Description |
---|---|
ImageFilterCollection |
MaxParallelThreads
Max Threads for parallel. Default 4
Declaration
public int MaxParallelThreads { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Multithreaded
Reads barcodes from multiple images in parallel. Multiple threads will automatically be started and managed to improve performance for batch barcode reading tasks.
Declaration
public bool Multithreaded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RemoveFalsePositive
Attempt to remove false positive barcode reads. This can be disabled to improve performance at the cost of accuracy. Default = True
Declaration
public bool RemoveFalsePositive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Speed
Barcode reading speed. Default Balanced
Declaration
public ReadingSpeed Speed { get; set; }
Property Value
Type | Description |
---|---|
ReadingSpeed |
UseCode39ExtendedMode
If a Code39 barcode is detected. Try to use extended mode for the full ASCII Character Set
Declaration
public bool UseCode39ExtendedMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |