Class DotCodeExtendedParameters
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ã vạch được công nhận DotCode
public sealed class DotCodeExtendedParameters : BaseExtendedParameters
Inheritance
object ← BaseExtendedParameters ← DotCodeExtendedParameters
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 các giá trị nguyên của DotCode
using (BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DotCode, "12345"))
{
generator.Save(@"c:\test.png");
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.DotCode))
{
foreach (BarCodeResult result in reader.ReadBarCodes())
{
Console.WriteLine("BarCode type: " + result.CodeTypeName);
Console.WriteLine("BarCode codetext: " + result.CodeText);
Console.WriteLine("DotCode barcode ID: " + result.Extended.DotCode.DotCodeStructuredAppendModeBarcodeId);
Console.WriteLine("DotCode barcodes count: " + result.Extended.DotCode.DotCodeStructuredAppendModeBarcodesCount);
}
}
Properties
DotCodeIsReaderInitialization
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 DotCodeIsReaderInitialization { get; }
Giá trị bất động sản
DotCodeStructuredAppendModeBarcodeId
Nhận ID của DotCode cấu trúc add mode mã thanh. ID bắt đầu từ 1 và phải ít hơn hoặc tương đương với số mã thanh. giá trị mặc định là -1.
public int DotCodeStructuredAppendModeBarcodeId { get; }
Giá trị bất động sản
DotCodeStructuredAppendModeBarcodesCount
Nhận DotCode cấu trúc tính số mã thanh chế độ bổ sung. giá trị mặc định là -1. Số lượng phải là giá trị từ 1 đến 35.
public int DotCodeStructuredAppendModeBarcodesCount { get; }
Giá trị bất động sản
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.DotCodeExtendedParameters 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
đú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
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.DotCodeExtendedParameters này.
public override string ToString()
Returns
Một dòng đại diện cho Aspose.BarCode.BarCodeRecognition.DotCodeExtendedParameters này.
Operators
Nhà điều hành =(DotCodeExtendedParameters, DotCodeExtendedParameters)
Quay lại một giá trị cho thấy liệu giá trị Aspose.BarCode.BarCodeRecognition.DotCodeExtendedParameters đầu tiên có bằng giá trị thứ hai hay không.
public static bool operator ==(DotCodeExtendedParameters first, DotCodeExtendedParameters second)
Parameters
first
DotCodeExtendedParameters
Giá trị so sánh đầu tiên
second
DotCodeExtendedParameters
Giá trị so sánh thứ hai
Returns
đú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 !=(DotCodeExtendedParameters, DotCodeExtendedParameters)
Quay lại một giá trị cho thấy nếu giá trị Aspose.BarCode.BarCodeRecognition.DotCodeExtendedParameters đầu tiên khác với giá trị thứ hai.
public static bool operator !=(DotCodeExtendedParameters first, DotCodeExtendedParameters second)
Parameters
first
DotCodeExtendedParameters
Giá trị so sánh đầu tiên
second
DotCodeExtendedParameters
Giá trị so sánh thứ hai
Returns
đúng Nếu đầu tiên có giá trị khác với thứ hai; nếu không, giả.