Class QRExtendedParameters

Class QRExtendedParameters

Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.2.0)

Stores a QR Structured Append information of recognized barcode

public sealed class QRExtendedParameters : BaseExtendedParameters

Inheritance

objectBaseExtendedParametersQRExtendedParameters

Inherited Members

BaseExtendedParameters.IsEmpty, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Examples

This sample shows how to get QR Structured Append data

using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.QR))
{
    foreach (BarCodeResult result in reader.ReadBarCodes())
    {
        Console.WriteLine("BarCode Type: " + result.CodeTypeName);
        Console.WriteLine("BarCode CodeText: " + result.CodeText);
        Console.WriteLine("QR Structured Append Quantity: " + result.Extended.QR.QRStructuredAppendModeBarCodesQuantity);
        Console.WriteLine("QR Structured Append Index: " + result.Extended.QR.QRStructuredAppendModeBarCodeIndex);
        Console.WriteLine("QR Structured Append ParityData: " + result.Extended.QR.QRStructuredAppendModeParityData);
    }
}
Using reader As New BarCodeReader("c:\test.png", DecodeType.QR)
    For Each result As BarCodeResult In reader.ReadBarCodes()
        Console.WriteLine("BarCode Type: " + result.CodeTypeName)
        Console.WriteLine("BarCode CodeText: " + result.CodeText)
        Console.WriteLine("QR Structured Append Quantity: " + result.Extended.QR.QRStructuredAppendModeBarCodesQuantity)
        Console.WriteLine("QR Structured Append Index: " + result.Extended.QR.QRStructuredAppendModeBarCodeIndex)
        Console.WriteLine("QR Structured Append ParityData: " + result.Extended.QR.QRStructuredAppendModeParityData)
    Next
End Using

Properties

MicroQRVersion

Version of recognized MicroQR Code. From M1 to M4.

public MicroQRVersion MicroQRVersion { get; }

Property Value

MicroQRVersion

QRErrorLevel

Reed-Solomon error correction level of recognized barcode. From low to high: LevelL, LevelM, LevelQ, LevelH.

public QRErrorLevel QRErrorLevel { get; }

Property Value

QRErrorLevel

QRStructuredAppendModeBarCodeIndex

Gets the index of the QR structured append mode barcode. Index starts from 0. Default value is -1.

public int QRStructuredAppendModeBarCodeIndex { get; }

Property Value

int

QRStructuredAppendModeBarCodesQuantity

Gets the QR structured append mode barcodes quantity. Default value is -1.

public int QRStructuredAppendModeBarCodesQuantity { get; }

Property Value

int

QRStructuredAppendModeParityData

Gets the QR structured append mode parity data. Default value is -1.

public int QRStructuredAppendModeParityData { get; }

Property Value

int

QRVersion

Version of recognized QR Code. From Version1 to Version40.

public QRVersion QRVersion { get; }

Property Value

QRVersion

RectMicroQRVersion

Version of recognized RectMicroQR Code. From R7x43 to R17x139.

public RectMicroQRVersion RectMicroQRVersion { get; }

Property Value

RectMicroQRVersion

Methods

Equals(object)

Returns a value indicating whether this instance is equal to a specified Aspose.BarCode.BarCodeRecognition.QRExtendedParameters value.

public override bool Equals(object obj)

Parameters

obj object

An System.Object value to compare to this instance.

Returns

bool

true if obj has the same value as this instance; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer hash code.

ToString()

Returns a human-readable string representation of this Aspose.BarCode.BarCodeRecognition.QRExtendedParameters.

public override string ToString()

Returns

string

A string that represents this Aspose.BarCode.BarCodeRecognition.QRExtendedParameters.

Operators

operator ==(QRExtendedParameters, QRExtendedParameters)

Returns a value indicating whether the first Aspose.BarCode.BarCodeRecognition.QRExtendedParameters value is equal to the second.

public static bool operator ==(QRExtendedParameters first, QRExtendedParameters second)

Parameters

first QRExtendedParameters

A first compared value

second QRExtendedParameters

A second compared value

Returns

bool

true if first has the same value as second; otherwise, false.

operator !=(QRExtendedParameters, QRExtendedParameters)

Returns a value indicating if the first Aspose.BarCode.BarCodeRecognition.QRExtendedParameters value is different from the second.

public static bool operator !=(QRExtendedParameters first, QRExtendedParameters second)

Parameters

first QRExtendedParameters

A first compared value

second QRExtendedParameters

A second compared value

Returns

bool

true if first has the different value from second; otherwise, false.

 English