Class AztecExtendedParameters
ชื่อพื้นที่: Aspose.BarCode.BarCodeRecognition การประกอบ: Aspose.BarCode.dll (25.4.0)
บันทึกข้อมูลพิเศษของรหัสบาร์ Aztec ที่ได้รับการยอมรับ
public sealed class AztecExtendedParameters : BaseExtendedParameters
Inheritance
object ← BaseExtendedParameters ← AztecExtendedParameters
อนุญาโตตุลาการ
BaseExtendedParameters.IsEmpty , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
ตัวอย่างนี้แสดงให้เห็นว่าวิธีการรับค่าวัตถุดิบ Aztec
using (BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.Aztec, "12345"))
{
generator.Save(@"c:\test.png");
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.Aztec))
{
foreach (BarCodeResult result in reader.ReadBarCodes())
{
Console.WriteLine("BarCode type: " + result.CodeTypeName);
Console.WriteLine("BarCode codetext: " + result.CodeText);
Console.WriteLine("Aztec barcode ID: " + result.Extended.Aztec.StructuredAppendBarcodeId);
Console.WriteLine("Aztec barcodes count: " + result.Extended.Aztec.StructuredAppendBarcodesCount);
Console.WriteLine("Aztec file ID: " + result.Extended.Aztec.StructuredAppendFileId);
Console.WriteLine("Aztec is reader initialization: " + result.Extended.Aztec.IsReaderInitialization);
}
}
Properties
IsReaderInitialization
แสดงให้เห็นว่ารหัสจะถูกใช้เพื่อสอนผู้อ่านที่จะตีความข้อมูลต่อไปนี้เป็นคําแนะนําสําหรับการเริ่มต้นหรือโปรแกรมใหม่ของผู้อ่านรหัสบาร์หมายเลขที่กําหนดเองคือข้อผิดพลาด
public bool IsReaderInitialization { get; }
คุณสมบัติมูลค่า
StructuredAppendBarcodeId
รับ ID ของ Aztec โหมดการเพิ่มโครงสร้าง บาร์โค้ด ID เริ่มต้นจาก 1 และจะต้องน้อยหรือเท่ากับจํานวนบาร์โค้ด ค่าเริ่มต้นคือ 0.
public int StructuredAppendBarcodeId { get; }
คุณสมบัติมูลค่า
StructuredAppendBarcodesCount
รับ Aztec โหมดการเพิ่มโครงสร้าง บาร์โค้ดคํานวณ หมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลขหมายเลข
public int StructuredAppendBarcodesCount { get; }
คุณสมบัติมูลค่า
StructuredAppendFileId
รับ ID ไฟล์ของ Aztec โหมดแอปพลิเคชันโครงสร้าง หมายเลขค่าเริ่มต้นคือเส้นผ่าศูนย์กลาง
public string StructuredAppendFileId { get; }
คุณสมบัติมูลค่า
Methods
Equals(วัตถุ)
กลับค่าแสดงให้เห็นว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.AztecExtendedParameters ที่ระบุไว้
public override bool Equals(object obj)
Parameters
obj
object
ค่า System.Object เพื่อเปรียบเทียบกับตัวอย่างนี้
Returns
จริง ถ้า obj มีมูลค่าเดียวกันกับตัวอย่างนี้ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..
GetHashCode()
กลับรหัส hash สําหรับตัวอย่างนี้
public override int GetHashCode()
Returns
32 บิตลงชื่อรหัส hash ทั้งหมด
ToString()
กลับตัวอักษรเส้นที่สามารถอ่านได้โดยมนุษย์ของ Aspose.BarCode.BarCodeRecognition.AztecExtendedParameters
public override string ToString()
Returns
ลวดที่นําเสนอ Aspose.BarCode.BarCodeRecognition.AztecExtendedParameters
Operators
ผู้ประกอบการ =(AztecExtendedพารามิเตอร์, AztecExtendedพารามิเตอร์)
กลับค่าที่แสดงให้เห็นว่าค่า Aspose.BarCode.BarCodeRecognition.AztecExtendedParameters เป็นเท่ากับค่าที่สองหรือไม่
public static bool operator ==(AztecExtendedParameters first, AztecExtendedParameters second)
Parameters
first
AztecExtendedParameters
ราคาเปรียบเทียบครั้งแรก
second
AztecExtendedParameters
ค่าเปรียบเทียบที่สอง
Returns
จริง ถ้าครั้งแรกมีค่าเดียวกันกับครั้งที่สอง อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..
ผู้ประกอบการ !=(AztecExtendedพารามิเตอร์, AztecExtendedพารามิเตอร์)
กลับค่าที่แสดงให้เห็นว่าค่า Aspose.BarCode.BarCodeRecognition.AztecExtendedParameters เป็นที่แตกต่างจากค่าที่สอง
public static bool operator !=(AztecExtendedParameters first, AztecExtendedParameters second)
Parameters
first
AztecExtendedParameters
ราคาเปรียบเทียบครั้งแรก
second
AztecExtendedParameters
ค่าเปรียบเทียบที่สอง
Returns
จริง ถ้าครั้งแรกมีค่าที่แตกต่างจากครั้งที่สอง อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..