Class BarcodeFormatCommonOneDConfiguration
- Namespace
- ScanbotSDK.MAUI.Barcode
- Assembly
- ScanbotSDK.Shared.dll
Convenience configuration for enabling the scanning of multiple linear (1D) barcode formats with a common configuration. Add to scanner configuration to enable and configure the scanning of multiple linear (1D) barcode formats.
The given configuration will be applied to all enabled barcode formats, if they support it. You can override the common configuration for individual barcode formats by additionally adding their specific configuration to the scanner's configuration.
public class BarcodeFormatCommonOneDConfiguration : BarcodeFormatConfigurationBase
- Inheritance
-
BarcodeFormatCommonOneDConfiguration
- Inherited Members
Properties
Formats
List of linear (1D) barcode formats to scan.
public BarcodeFormat[] Formats { get; set; }
Property Value
Gs1Handling
GS1 message handling options.
Default is PARSE
public Gs1Handling Gs1Handling { get; set; }
Property Value
MaximumTextLength
Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
Default is 0
public int MaximumTextLength { get; set; }
Property Value
Minimum1DQuietZoneSize
Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules. The quiet zone is only for 1D barcodes with weak start/stop patterns, i.e. Iata2Of5, Industrial2Of5, Code25, Itf, Codabar, MsiPlessey and Code11.
Default is 6
public int Minimum1DQuietZoneSize { get; set; }
Property Value
MinimumTextLength
Minimum text length. Applied only to linear barcode formats that allow variable length.
Default is 1
public int MinimumTextLength { 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
Methods
FromJson(string)
public static BarcodeFormatCommonOneDConfiguration FromJson(string rawJson)
Parameters
rawJson
string