Class QRExtendedParameters

Class QRExtendedParameters

ชื่อพื้นที่: Aspose.BarCode.BarCodeRecognition การประกอบ: Aspose.BarCode.dll (25.4.0)

บันทึกข้อมูลการเพิ่มโครงสร้าง QR ของรหัสบาร์ที่ได้รับการยอมรับ

public sealed class QRExtendedParameters : BaseExtendedParameters

Inheritance

object BaseExtendedParameters QRExtendedParameters

อนุญาโตตุลาการ

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

Examples

ตัวอย่างนี้แสดงให้เห็นวิธีการรับข้อมูลการเพิ่มโครงสร้าง 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

MicroQRVersion

รุ่นของรหัส MicroQR ที่ได้รับการยอมรับ จาก M1 ถึง M4

public MicroQRVersion MicroQRVersion { get; }

คุณสมบัติมูลค่า

MicroQRVersion

ระดับ QRError

Reed-Solomon error correction level of recognized barcode. จากต่ําถึงสูง: LevelL, LevelM, LevelQ, LevelH.

public QRErrorLevel QRErrorLevel { get; }

คุณสมบัติมูลค่า

QRErrorLevel

QRStructuredAppendModeBarCodeIndex

รับรหัสบาร์โค้ดโหมดแอปพลิเคชันที่โครงสร้าง QR คะแนนเริ่มต้นจาก 0. คะแนนเริ่มต้นคือ -1.

public int QRStructuredAppendModeBarCodeIndex { get; }

คุณสมบัติมูลค่า

int

QRStructuredAppendModeBarCodesจํานวนมาก

รับจํานวนรหัสบาร์ในโหมดแอปพลิเคชันที่โครงสร้าง QR หมายเลขค่าเริ่มต้นคือ -1.

public int QRStructuredAppendModeBarCodesQuantity { get; }

คุณสมบัติมูลค่า

int

QRStructuredAppendModeParityData

รับข้อมูลการเข้ากันได้ในโหมดแอปพลิเคชันที่โครงสร้าง QR ค่าเริ่มต้นคือ -1.

public int QRStructuredAppendModeParityData { get; }

คุณสมบัติมูลค่า

int

หลักสูตร

รุ่นของรหัส QR ที่ได้รับการยอมรับ จาก Version1 ไปยัง Version40

public QRVersion QRVersion { get; }

คุณสมบัติมูลค่า

QRVersion

RectMicroQRVersion

รุ่นของรหัส RectMicroQR ที่ได้รับการยอมรับ จาก R7x43 ถึง R17x139.

public RectMicroQRVersion RectMicroQRVersion { get; }

คุณสมบัติมูลค่า

RectMicroQRVersion

Methods

Equals(วัตถุ)

กลับค่าที่แสดงให้เห็นว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.QRExtendedParameters ที่ระบุไว้

public override bool Equals(object obj)

Parameters

obj object

ค่า System.Object เพื่อเปรียบเทียบกับตัวอย่างนี้

Returns

bool

จริง ถ้า obj มีมูลค่าเดียวกันกับตัวอย่างนี้ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..

GetHashCode()

กลับรหัส hash สําหรับตัวอย่างนี้

public override int GetHashCode()

Returns

int

32 บิตลงชื่อรหัส hash ทั้งหมด

ToString()

กลับตัวอักษรเส้นที่สามารถอ่านได้โดยมนุษย์ของ Aspose.BarCode.BarCodeRecognition.QRExtendedParameters

public override string ToString()

Returns

string

ลวดที่นําเสนอ Aspose.BarCode.BarCodeRecognition.QRExtendedพารามิเตอร์นี้

Operators

ผู้ประกอบการ =(QRExtendedParameters, QRExtendedParameters)

กลับค่าที่แสดงให้เห็นว่าค่า Aspose.BarCode.BarCodeRecognition.QRExtendedParameters เป็นเท่ากับค่าที่สองหรือไม่

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

Parameters

first QRExtendedParameters

ราคาเปรียบเทียบครั้งแรก

second QRExtendedParameters

ค่าเปรียบเทียบที่สอง

Returns

bool

จริง ถ้าครั้งแรกมีค่าเดียวกันกับครั้งที่สอง อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..

ผู้ประกอบการ !=(QRExtendedParameters, QRExtendedParameters)

กลับค่าที่แสดงให้เห็นว่าค่า Aspose.BarCode.BarCodeRecognition.QRExtendedParameters เป็นที่แตกต่างจากค่าที่สอง

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

Parameters

first QRExtendedParameters

ราคาเปรียบเทียบครั้งแรก

second QRExtendedParameters

ค่าเปรียบเทียบที่สอง

Returns

bool

จริง ถ้าครั้งแรกมีค่าที่แตกต่างจากครั้งที่สอง อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..

 แบบไทย