Class QRExtendedParameters
Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.1.0)
เก็บข้อมูล QR Structured Append ของบาร์โค้ดที่รู้จัก
public sealed class QRExtendedParameters : BaseExtendedParameters
การสืบทอด
object ← BaseExtendedParameters ← QRExtendedParameters
สมาชิกที่สืบทอด
BaseExtendedParameters.IsEmpty, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
ตัวอย่าง
ตัวอย่างนี้แสดงวิธีการดึงข้อมูล QR Structured Append
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.QR))
{
foreach (BarCodeResult result in reader.ReadBarCodes())
{
Console.WriteLine("ประเภทบาร์โค้ด: " + result.CodeTypeName);
Console.WriteLine("ข้อความบาร์โค้ด: " + result.CodeText);
Console.WriteLine("จำนวน QR Structured Append: " + result.Extended.QR.QRStructuredAppendModeBarCodesQuantity);
Console.WriteLine("ดัชนี QR Structured Append: " + result.Extended.QR.QRStructuredAppendModeBarCodeIndex);
Console.WriteLine("ข้อมูลพาริตี QR Structured Append: " + result.Extended.QR.QRStructuredAppendModeParityData);
}
}
Using reader As New BarCodeReader("c:\test.png", DecodeType.QR)
For Each result As BarCodeResult In reader.ReadBarCodes()
Console.WriteLine("ประเภทบาร์โค้ด: " + result.CodeTypeName)
Console.WriteLine("ข้อความบาร์โค้ด: " + result.CodeText)
Console.WriteLine("จำนวน QR Structured Append: " + result.Extended.QR.QRStructuredAppendModeBarCodesQuantity)
Console.WriteLine("ดัชนี QR Structured Append: " + result.Extended.QR.QRStructuredAppendModeBarCodeIndex)
Console.WriteLine("ข้อมูลพาริตี QR Structured Append: " + result.Extended.QR.QRStructuredAppendModeParityData)
Next
End Using
คุณสมบัติ
MicroQRVersion
เวอร์ชันของ MicroQR Code ที่รู้จัก ตั้งแต่ M1 ถึง M4
public MicroQRVersion MicroQRVersion { get; }
ค่าคุณสมบัติ
QRErrorLevel
ระดับการแก้ไขข้อผิดพลาดแบบ Reed-Solomon ของบาร์โค้ดที่รู้จัก ตั้งแต่ต่ำไปสูง: LevelL, LevelM, LevelQ, LevelH
public QRErrorLevel QRErrorLevel { get; }
ค่าคุณสมบัติ
QRStructuredAppendModeBarCodeIndex
ดัชนีของบาร์โค้ดในโหมด QR Structured Append ดัชนีเริ่มต้นที่ 0 ค่าเริ่มต้นคือ -1
public int QRStructuredAppendModeBarCodeIndex { get; }
ค่าคุณสมบัติ
QRStructuredAppendModeBarCodesQuantity
จำนวนบาร์โค้ดในโหมด QR Structured Append ค่าเริ่มต้นคือ -1
public int QRStructuredAppendModeBarCodesQuantity { get; }
ค่าคุณสมบัติ
QRStructuredAppendModeParityData
ข้อมูลพาริตีในโหมด QR Structured Append ค่าเริ่มต้นคือ -1
public int QRStructuredAppendModeParityData { get; }
ค่าคุณสมบัติ
QRVersion
เวอร์ชันของ QR Code ที่รู้จัก ตั้งแต่ Version1 ถึง Version40
public QRVersion QRVersion { get; }
ค่าคุณสมบัติ
RectMicroQRVersion
เวอร์ชันของ RectMicroQR Code ที่รู้จัก ตั้งแต่ R7x43 ถึง R17x139
public RectMicroQRVersion RectMicroQRVersion { get; }
ค่าคุณสมบัติ
วิธีการ
Equals(object)
ส่งค่าที่บ่งบอกว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.QRExtendedParameters ที่ระบุหรือไม่
public override bool Equals(object obj)
พารามิเตอร์
obj
object
ค่าของ System.Object ที่จะเปรียบเทียบกับตัวอย่างนี้
ส่งกลับ
true หาก obj มีค่าเดียวกันกับตัวอย่างนี้; มิฉะนั้น false.
GetHashCode()
ส่งกลับรหัสแฮชสำหรับตัวอย่างนี้
public override int GetHashCode()
ส่งกลับ
รหัสแฮชที่เป็นเลขจำนวนเต็ม 32 บิต
ToString()
ส่งกลับสตริงที่อ่านได้ของ Aspose.BarCode.BarCodeRecognition.QRExtendedParameters นี้
public override string ToString()
ส่งกลับ
สตริงที่แสดงถึง Aspose.BarCode.BarCodeRecognition.QRExtendedParameters นี้
ตัวดำเนินการ
operator ==(QRExtendedParameters, QRExtendedParameters)
ส่งค่าที่บ่งบอกว่าค่าของ Aspose.BarCode.BarCodeRecognition.QRExtendedParameters ตัวแรกเท่ากับค่าตัวที่สองหรือไม่
public static bool operator ==(QRExtendedParameters first, QRExtendedParameters second)
พารามิเตอร์
first
QRExtendedParameters
ค่าที่เปรียบเทียบตัวแรก
second
QRExtendedParameters
ค่าที่เปรียบเทียบตัวที่สอง
ส่งกลับ
true หาก first มีค่าเดียวกันกับ second; มิฉะนั้น false.
operator !=(QRExtendedParameters, QRExtendedParameters)
ส่งค่าที่บ่งบอกว่าค่าของ Aspose.BarCode.BarCodeRecognition.QRExtendedParameters ตัวแรกแตกต่างจากค่าตัวที่สองหรือไม่
public static bool operator !=(QRExtendedParameters first, QRExtendedParameters second)
พารามิเตอร์
first
QRExtendedParameters
ค่าที่เปรียบเทียบตัวแรก
second
QRExtendedParameters
ค่าที่เปรียบเทียบตัวที่สอง
ส่งกลับ
true หาก first มีค่าต่างจาก second; มิฉะนั้น false.