Enum BarcodeQualityMode
Enum BarcodeQualityMode
Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.1.0)
選択した品質でバーコード要素を認識するメソッドを有効にするモード。品質が低いバーコード要素は、認識を遅くするより多くの厳しいメソッドを必要とします。
public enum BarcodeQualityMode
フィールド
High = 0
高品質バーコードの認識メソッドを有効にします。
Low = 2
低品質バーコードの認識メソッドを有効にします。
Normal = 1
一般的(通常)品質バーコードの認識メソッドを有効にします。
例
このサンプルは、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);
}