Class BarcodeFormatUpcEanConfiguration
- Namespace
- ScanbotSDK.MAUI.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
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
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
rawJson
string