Contains extra options to use when reading QR barcodes.
[SerializableAttribute()]
public class QRBarcodeReadOptions : BarcodeReadOptions
<TypeConverterAttribute()>
<SerializableAttribute()>
Public Class QRBarcodeReadOptions
Inherits Leadtools.Barcode.BarcodeReadOptions
Implements System.ICloneable
public sealed class QRBarcodeReadOptions : System.ICloneable
@interface LTQRBarcodeReadOptions : LTBarcodeReadOptions
public class QRBarcodeReadOptions extends BarcodeReadOptions
function Leadtools.Barcode.QRBarcodeReadOptions()
[TypeConverterAttribute()]
[SerializableAttribute()]
public ref class QRBarcodeReadOptions : public Leadtools.Barcode.BarcodeReadOptions, System.ICloneable
The QRBarcodeReadOptions class is used to control the options when reading QR barcodes using LEADTOOLS. 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 BarcodeSymbology.QR. Change the members of the returned QRBarcodeReadOptions by casting it from BarcodeReadOptions to QRBarcodeReadOptions.
You can also create an instance of the QRBarcodeReadOptions class and use it directly in the BarcodeReader.ReadBarcode and BarcodeReader.ReadBarcodes methods that accept a single or array of options as an input parameter.
The base BarcodeReadOptions contains the following members and features:
Member | Description |
---|---|
BarcodeReadOptions.ForeColor | Controls the barcode foreground color (color of the bars or symbols) to use when reading a barcode from a colored image. |
BarcodeReadOptions.BackColor | Controls the barcode background color (color of the spaces) to use when reading a barcode from a colored image. |
BarcodeReadOptions.Load and BarcodeReadOptions.Save | Can be used to save or load the options to/from an XML file or stream. |
BarcodeReadOptions.GetSupportedSymbologies | This class overrides the base class method to return an array containing the following symbologies: BarcodeSymbology.QR |
In addition to the features and members, the QRBarcodeReadOptions contains these QR barcodes specific features:
Member | Description |
---|---|
EnableDoublePass | Enable internal auto pre-processing of the image data if no QR barcode was found. |
EnableDoublePassIfSuccess | Enable internal auto preprocessing of the image data even if some QR barcodes were found. |
For an example, refer to QRBarcodeData.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET