Class BarcodeFormatUpcEanConfiguration
- Namespace
- ScanbotSDK.MAUI.Core.Barcode
- Assembly
- ScanbotSDK.Shared.dll
UPC/EAN barcode configuration. Add to scanner configuration to scan EAN-8, EAN-13, UPC-E and UPC-A barcodes.
public class BarcodeFormatUpcEanConfiguration : BarcodeFormatOneDConfigurationBase
- Inheritance
-
BarcodeFormatUpcEanConfiguration
- Inherited Members
Properties
Ean13
If true, scan and return valid EAN-13 barcodes.
Default is true
public bool Ean13 { get; set; }
Property Value
Ean8
If true, scan and return valid EAN-8 barcodes.
Default is true
public bool Ean8 { get; set; }
Property Value
EnableOneDBlurScanner
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged. Enabling this option may increase the number of misreads (false positives).
Default is false
public bool EnableOneDBlurScanner { get; set; }
Property Value
Extensions
Behavior when scanning UPC/EAN barcodes with EAN-2 or EAN-5 extensions.
Default is ALLOW_ANY
public UpcEanExtensionBehavior Extensions { get; set; }
Property Value
MinimumNumberOfRequiredFramesWithEqualRecognitionResultExtensionless
In case that EAN/UPC barcodes both with and without extensions are allowed, we require this number of frames on which the standalone EAN or UPC (i.e. without extension) has to be detected to be considered as valid (live scanning only). EAN/UPC barcodes with extensions are more prone to slicing (incomplete decoding). Increasing the number of frames on which a barcode has to decode to the same content reduces the probability that an extension is accidentally missed.
Default is 1
public int MinimumNumberOfRequiredFramesWithEqualRecognitionResultExtensionless { get; set; }
Property Value
StripCheckDigits
If true, the check digits are stripped from the result.
Default is false
public bool StripCheckDigits { get; set; }
Property Value
Upca
If true, scan and return valid UPC-A barcodes. If false, but ean13 is true, then UPC-A barcodes will be returned as EAN-13 barcodes.
Default is true
public bool Upca { get; set; }
Property Value
Upce
If true, scan and return valid UPC-E barcodes.
Default is true
public bool Upce { get; set; }
Property Value
Methods
FromJson(string)
public static BarcodeFormatUpcEanConfiguration FromJson(string rawJson)
Parameters
rawJsonstring