Class QRExtendedParameters

Class QRExtendedParameters

Tên không gian: Aspose.BarCode.BarCodeRecognition Tổng hợp: Aspose.BarCode.dll (25.4.0)

Lưu trữ một thông tin liên kết cấu trúc QR của mã thanh được công nhận

public sealed class QRExtendedParameters : BaseExtendedParameters

Inheritance

object BaseExtendedParameters QRExtendedParameters

Thành viên thừa kế

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

Examples

Mẫu này cho thấy làm thế nào để có được dữ liệu phân bổ cấu trúc QR

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

Phiên bản MicroQR

Phiên bản của mã MicroQR được công nhận. từ M1 đến M4.

public MicroQRVersion MicroQRVersion { get; }

Giá trị bất động sản

MicroQRVersion

Mức độ QREROR

Reed-Solomon error correction level of recognized barcode. Từ thấp đến cao: LevelL, LevelM, LevelQ, LevelH.

public QRErrorLevel QRErrorLevel { get; }

Giá trị bất động sản

QRErrorLevel

QRStructuredAppendModeBarCodeIndex

Nhận chỉ số của QR cấu trúc ứng dụng chế độ mã thanh. chỉ số bắt đầu từ 0. giá trị mặc định là -1.

public int QRStructuredAppendModeBarCodeIndex { get; }

Giá trị bất động sản

int

QRStructuredAppendModeBarCodesQuantity

Nhận số lượng mã thanh chế độ ứng dụng cấu trúc QR. giá trị mặc định là -1.

public int QRStructuredAppendModeBarCodesQuantity { get; }

Giá trị bất động sản

int

QRStructuredAppendModeParityData

Nhận dữ liệu tương đồng chế độ ứng dụng cấu trúc QR. giá trị mặc định là -1.

public int QRStructuredAppendModeParityData { get; }

Giá trị bất động sản

int

Phiên bản QR

Phiên bản của mã QR được công nhận. Từ Phiên bản 1 đến Phiên bản 40.

public QRVersion QRVersion { get; }

Giá trị bất động sản

QRVersion

Tính năng RectMicroQRVersion

Phiên bản của mã RectMicroQR được công nhận. từ R7x43 đến R17x139.

public RectMicroQRVersion RectMicroQRVersion { get; }

Giá trị bất động sản

RectMicroQRVersion

Methods

Equals(đối tượng)

Quay lại một giá trị cho thấy nếu mẫu này tương đương với giá trị Aspose.BarCode.BarCodeRecognition.QRExtendedParameters cụ thể.

public override bool Equals(object obj)

Parameters

obj object

Một System.Object giá trị để so sánh với trường hợp này.

Returns

bool

đúng nếu obj có giá trị tương tự như trường hợp này; nếu không, giả.

GetHashCode()

Quay lại mã hash cho trường hợp này.

public override int GetHashCode()

Returns

int

Một 32-bit ký mã hash toàn bộ.

ToString()

Trở lại một mô tả chuỗi người đọc của Aspose.BarCode.BarCodeRecognition.QRExtendedParameters.

public override string ToString()

Returns

string

Một dòng đại diện cho Aspose.BarCode.BarCodeRecognition.QRExtendedParameters.

Operators

Nhà điều hành =(QRExtendedParameters, QRExtendedParameters)

Quay lại một giá trị cho thấy liệu giá trị Aspose.BarCode.BarCodeRecognition.QRExtendedParameters đầu tiên có bằng giá trị thứ hai hay không.

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

Parameters

first QRExtendedParameters

Giá trị so sánh đầu tiên

second QRExtendedParameters

Giá trị so sánh thứ hai

Returns

bool

đúng Nếu đầu tiên có giá trị tương tự như thứ hai; nếu không, giả.

Nhà điều hành !=(QRExtendedParameters, QRExtendedParameters)

Quay lại giá trị cho biết nếu giá trị Aspose.BarCode.BarCodeRecognition.QRExtendedParameters khác với giá trị thứ hai.

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

Parameters

first QRExtendedParameters

Giá trị so sánh đầu tiên

second QRExtendedParameters

Giá trị so sánh thứ hai

Returns

bool

đúng Nếu đầu tiên có giá trị khác với thứ hai; nếu không, giả.

 Tiếng Việt