Class AztecExtendedParameters

Class AztecExtendedParameters

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 mã thanh Aztec được công nhận

public sealed class AztecExtendedParameters : BaseExtendedParameters

Inheritance

object BaseExtendedParameters AztecExtendedParameters

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 giá trị nguyên của 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

Nó chỉ ra liệu mã được sử dụng để hướng dẫn người đọc để giải thích các dữ liệu sau đây như hướng dẫn để khởi động hoặc lập trình lại người đọc mã thanh.Giá trị mặc định là giả.

public bool IsReaderInitialization { get; }

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

bool

StructuredAppendBarcodeId

Nhận ID của Aztec cấu trúc ứng dụng chế độ mã thanh. ID bắt đầu từ 1 và phải ít hơn hoặc bằng số mã thanh. giá trị mặc định là 0.

public int StructuredAppendBarcodeId { get; }

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

int

StructuredAppendBarcodesCount

Nhận Aztec cấu trúc mô hình bổ sung mã số. giá trị mặc định là 0. số phải là giá trị từ 1 đến 26.

public int StructuredAppendBarcodesCount { get; }

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

int

StructuredAppendFileId

Nhận ID tệp của chế độ bổ sung Aztec có cấu trúc. giá trị mặc định là dòng trống

public string StructuredAppendFileId { get; }

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

string

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.AztecExtendedParameters 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 biểu hiện chuỗi người đọc của Aspose.BarCode.BarCodeRecognition.AztecExtendedParameters này.

public override string ToString()

Returns

string

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

Operators

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

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

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

Parameters

first AztecExtendedParameters

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

second AztecExtendedParameters

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

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

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

Parameters

first AztecExtendedParameters

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

second AztecExtendedParameters

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