Aspose::BarCode::BarCodeRecognition::QRExtendedParameters class
Contents
[
Hide
]QRExtendedParameters class
Stores a QR Structured Append information of recognized barcode.
class QRExtendedParameters : public Aspose::BarCode::BarCodeRecognition::BaseExtendedParameters
Methods
Method | Description |
---|---|
get_IsEmpty() | Tests whether all parameters has only default values. |
get_MicroQRVersion() | Version of recognized MicroQR Code. From M1 to M4. |
get_QRErrorLevel() | Reed-Solomon error correction level of recognized barcode. From low to high: LevelL, LevelM, LevelQ, LevelH. |
get_QRStructuredAppendModeBarCodeIndex() | Gets the index of the QR structured append mode barcode. Index starts from 0. Default value is -1. |
get_QRStructuredAppendModeBarCodesQuantity() | Gets the QR structured append mode barcodes quantity. Default value is -1. |
get_QRStructuredAppendModeParityData() | Gets the QR structured append mode parity data. Default value is -1. |
get_QRVersion() | Version of recognized QR Code. From Version1 to Version40. |
get_RectMicroQRVersion() | Version of recognized RectMicroQR Code. From R7x43 to R17x139. |
GetHashCode() const override | Returns the hash code for this instance. |
ToString() const override | Returns a human-readable string representation of this QRExtendedParameters. |
Remarks
This sample shows how to get QR Structured Append data
[C#]
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);
}
}
[VB.NET]
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
See Also
- Class BaseExtendedParameters
- Namespace Aspose::BarCode::BarCodeRecognition
- Library Aspose.BarCode for C++