Enum ComplexBackgroundMode
Enum ComplexBackgroundMode
Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.1.0)
وضع يمكّن أو يعطل التعرف الإضافي على رموز الشريط الملونة على الصور الملونة.
public enum ComplexBackgroundMode
Fields
Auto = 0
في الوقت الحالي، هو نفسه كـ Disabled. يعطل التعرف الإضافي على رموز الشريط الملونة على الصور الملونة.
Disabled = 1
يعطل التعرف الإضافي على رموز الشريط الملونة على الصور الملونة.
Enabled = 2
يمكن التعرف الإضافي على رموز الشريط الملونة على الصور الملونة.
Examples
هذا المثال يوضح كيفية استخدام وضع ComplexBackground
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.Code39Extended, DecodeType.Code128))
{
reader.QualitySettings.ComplexBackground = ComplexBackgroundMode.Enabled;
foreach (BarCodeResult result in reader.ReadBarCodes())
Console.WriteLine(result.CodeText);
}