Class DataMatrixExtendedParameters

Class DataMatrixExtendedParameters

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

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

public sealed class DataMatrixExtendedParameters : BaseExtendedParameters

Inheritance

object BaseExtendedParameters DataMatrixExtendedParameters

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

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

Examples

ตัวอย่างนี้แสดงให้เห็นวิธีการรับค่าวัตถุดิบของ DataMatrix

using (BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DataMatrix, "12345"))
{
    generator.Save(@"c:\test.png");
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.DataMatrix))
{
    foreach (BarCodeResult result in reader.ReadBarCodes())
    {
        Console.WriteLine("BarCode type: " + result.CodeTypeName);
        Console.WriteLine("BarCode codetext: " + result.CodeText);
        Console.WriteLine("DataMatrix barcode ID: " + result.Extended.DataMatrix.StructuredAppendBarcodeId);
        Console.WriteLine("DataMatrix barcodes count: " + result.Extended.DataMatrix.StructuredAppendBarcodesCount);
        Console.WriteLine("DataMatrix file ID: " + result.Extended.DataMatrix.StructuredAppendFileId);
        Console.WriteLine("DataMatrix is reader programming: " + result.Extended.DataMatrix.IsReaderProgramming);
    }
}

Properties

IsReaderProgramming

แสดงให้เห็นว่ารหัสจะถูกใช้เพื่อสอนผู้อ่านที่จะตีความข้อมูลต่อไปนี้เป็นคําแนะนําสําหรับการเริ่มต้นหรือโปรแกรมใหม่ของผู้อ่านรหัสบาร์หมายเลขที่กําหนดเองคือข้อผิดพลาด

public bool IsReaderProgramming { get; }

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

bool

StructuredAppendBarcodeId

รับ ID ของ DataMatrix โหมดการเพิ่มโครงสร้าง บาร์โค้ด ID เริ่มต้นจาก 1 และจะต้องน้อยหรือเท่ากับจํานวนบาร์โค้ด ค่าเริ่มต้นคือ -1.

public int StructuredAppendBarcodeId { get; }

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

int

StructuredAppendBarcodesCount

Get the DataMatrix structured append mode barcodes count. หมายเลขค่าเริ่มต้นคือ -1. หมายเลขต้องมีค่าตั้งแต่ 1 ถึง 35.

public int StructuredAppendBarcodesCount { get; }

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

int

StructuredAppendFileId

รับ ID ของ DataMatrix โหมดการเพิ่มโครงสร้าง บาร์โค้ด ID เริ่มต้นจาก 1 และจะต้องน้อยหรือเท่ากับจํานวนบาร์โค้ด ค่าเริ่มต้นคือ -1.

public int StructuredAppendFileId { get; }

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

int

Methods

Equals(วัตถุ)

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

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.DataMatrixExtendedParameters

public override string ToString()

Returns

string

ลวดที่นําเสนอ Aspose.BarCode.BarCodeRecognition.DataMatrixExtendedParameters

Operators

ผู้ประกอบการ =(DataMatrixExtendedพารามิเตอร์, DataMatrixExtendedพารามิเตอร์)

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

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

Parameters

first DataMatrixExtendedParameters

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

second DataMatrixExtendedParameters

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

Returns

bool

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

ผู้ประกอบการ !=(DataMatrixExtendedพารามิเตอร์, DataMatrixExtendedพารามิเตอร์)

กลับค่าที่แสดงให้เห็นว่า Aspose.BarCode.BarCodeRecognition.DataMatrixExtendedค่าพารามิเตอร์แตกต่างจากที่สองหรือไม่

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

Parameters

first DataMatrixExtendedParameters

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

second DataMatrixExtendedParameters

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

Returns

bool

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

 แบบไทย