Enum ComplexBackgroundMode

Enum ComplexBackgroundMode

이름 공간 : Aspose.BarCode.BarCodeRecognition 모임: Aspose.BarCode.dll (25.4.0)

색상 이미지에 대한 추가 인식을 허용하거나 차단하는 모드.

public enum ComplexBackgroundMode

Fields

Auto = 0

이 시간에는 장애가있는 것과 동일합니다. 색상 이미지에 색상 바코드의 추가 인식이 방해됩니다.

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);
}
 한국어