←Select platform

IBarcodeReadOptions Interface


Interface for all the barcode read options.


WinRT C#
public interface IBarcodeReadOptions : Leadtools.Barcode.IBarcodeOptions   
Public Interface IBarcodeReadOptions  
   Inherits Leadtools.Barcode.IBarcodeOptions  
public interface IBarcodeReadOptions : Leadtools.Barcode.IBarcodeOptions   
function Leadtools.Barcode.IBarcodeReadOptions() Leadtools.Barcode.IBarcodeOptions  
public interface class IBarcodeReadOptions : public Leadtools.Barcode.IBarcodeOptions   


Note: In LEADTOOLS for .NET, the equivalent to this interface is the BarcodeReadOptions class.

The BarcodeReader class contains multiple methods to read a single or multiple barcodes from an image ( Refer to the BarcodeReader.ReadBarcode and BarcodeReader.ReadBarcodes methods). For each barcode found, BarcodeReader will return an instance of BarcodeData populated with the data found in the barcode.

The clases that implements IBarcodeReadOptions interface is used to control the options used when reading a barcode using LEADTOOLS. You can set the options in two ways:

The BarcodeReader class contains default options for each barcode symbology (or group of common symbologies). These options can be retrieved using the BarcodeReader.GetDefaultOptions method passing the symbology of interest. You can then change the members of the returned IBarcodeReadOptions (or after casting it to the appropriate derived class).

You can also create an instance of one of the derived IBarcodeReadOptions classes and use it directly in the BarcodeReader.ReadBarcode and BarcodeReader.ReadBarcodes methods that accepts a single or array of options as an input parameter.

The IBarcodeReadOptions contains the following members and features:

Member Description

Controls the barcode foreground color (color of the bars or symbols) to use when reading a barcode from a colored image.


Controls the barcode background color (color of the spaces) to use when reading a barcode from a colored image.

IBarcodeReadOptions is an interface and cannot be created directly, instead create one of these classes that implements it:

Read options class Descriptions

Standard 1D linear barcode options. Used when reading any of the following symbologies: EAN13, EAN8, UPCA, UPCE, Code3Of9, Code128, CodeInterleaved2Of5, Codabar, UCCEAN128, Code93, EANEXT5, EANEXT2, MSI, Code11, CodeStandard2Of5, GS1Databar, GS1DatabarLimited or GS1DatabarExpanded


GS1 Databar stacked barcode options. Used when reading GS1DatabarStacked or GS1DatabarExpandedStacked symbologies


4-State barcode options. Used when reading AustralianPost4State, RoyalMail4State or USPS4State symbologies


POSTNET/Planet barcode options. Used when reading PostNet or Planet symbologies


Patch code barcode options. Used when reading PatchCode symbology.


Datamatrix barcode options. Used when reading Datamatrix symbology.


Micro PDF417 barcode options. Used when reading MicroPDF417 symbology.


PDF417 barcode options. Used when reading PDF417 symbology.


QR barcode options. Used when reading QR symbology.


Target Platforms

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

Leadtools.Barcode Assembly