Class Code128ExtendedParameters

Class Code128ExtendedParameters

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

Lưu trữ dữ liệu đặc biệt của Code128 mã thanh được công nhận

public sealed class Code128ExtendedParameters : BaseExtendedParameters

Inheritance

object BaseExtendedParameters Code128ExtendedParameters

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 code128 giá trị nguyên

using (BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.Code128, "12345"))
{
    generator.Save(@"c:\test.png");
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.Code128))
{
    foreach (BarCodeResult result in reader.ReadBarCodes())
    {
        Console.WriteLine("BarCode Type: " + result.CodeTypeName);
        Console.WriteLine("BarCode CodeText: " + result.CodeText);
        Console.WriteLine("Code128 Data Portions: " + result.Extended.Code128);
    }
}
Using generator As New BarcodeGenerator(EncodeTypes.Code128, "12345")
    generator.Save("c:\test.png")
End Using
Using reader As New BarCodeReader("c:\test.png", DecodeType.Code128)
    For Each result As BarCodeResult In reader.ReadBarCodes()
        Console.WriteLine("BarCode Type: " + result.CodeTypeName)
        Console.WriteLine("BarCode CodeText: " + result.CodeText)
        Console.WriteLine("Code128 Data Portions: " + result.Extended.Code128)
    Next
End Using

Properties

Code128DataPortions

Gets Aspose.BarCode.BarCodeRecognition.Code128DataPortion một loạt các mã thanh được công nhận Code128

public Code128DataPortion[] Code128DataPortions { get; }

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

Code128DataPortion [ ]

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

public override string ToString()

Returns

string

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

Operators

Nhà điều hành =(Code128ExtendedCác thông số, Code128ExtendedCác thông số)

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

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

Parameters

first Code128ExtendedParameters

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

second Code128ExtendedParameters

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 !=(Code128ExtendedCác thông số, Code128ExtendedCác thông số)

Quay lại một giá trị cho thấy nếu giá trị đầu tiên Aspose.BarCode.BarCodeRecognition.Code128ExtendedParameters khác với giá trị thứ hai.

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

Parameters

first Code128ExtendedParameters

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

second Code128ExtendedParameters

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