Enum BarcodeQualityMode

Enum BarcodeQualityMode

Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.1.0)

โหมดที่เปิดใช้งานวิธีการในการรู้จำองค์ประกอบของบาร์โค้ดด้วยคุณภาพที่เลือก องค์ประกอบของบาร์โค้ดที่มีคุณภาพต่ำต้องการวิธีการที่ยากมากขึ้นซึ่งทำให้การรู้จำช้าลง

public enum BarcodeQualityMode

Fields

High = 0

เปิดใช้งานวิธีการรู้จำสำหรับบาร์โค้ดคุณภาพสูง

Low = 2

เปิดใช้งานวิธีการรู้จำสำหรับบาร์โค้ดคุณภาพต่ำ

Normal = 1

เปิดใช้งานวิธีการรู้จำสำหรับบาร์โค้ดคุณภาพทั่วไป (ปกติ)

Examples

ตัวอย่างนี้แสดงวิธีการใช้โหมด BarcodeQuality

using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.Code39Extended, DecodeType.Code128))
{
    reader.QualitySettings.BarcodeQuality = BarcodeQualityMode.Low;
    foreach (BarCodeResult result in reader.ReadBarCodes())
        Console.WriteLine(result.CodeText);
}
 แบบไทย