Class BarcodeFormatGs1CompositeConfiguration
- Namespace
- ScanbotSDK.MAUI.Barcode
- Assembly
- ScanbotSDK.Shared.dll
GS1 Composite configuration. Add to scanner configuration to scan GS1 Composite barcodes.
When not enabled, the individual parts of GS1 Composite barcodes will be returned as separate items, if the respective formats are enabled (UPC-A, Code 128, MicroPDF417, PDF417). Those barcode items will have their isGS1CompositePart field set to true. If GS1 Composite scanning is enabled, the individual parts are never returned, even if their respective formats are enabled, except when the linear component is a UPC or EAN barcode. In that case the linear component might still occasionally be returned as a separate result. If this situation needs to be avoided, remove the UPC and EAN formats from the enabled formats.
If GS1 Composite scanning is disabled, but GS1 message validation is enabled, then the parts of the composite barcode may fail validation and be rejected.
public class BarcodeFormatGs1CompositeConfiguration : BarcodeFormatConfigurationBase
- Inheritance
-
BarcodeFormatGs1CompositeConfiguration
- Inherited Members
Properties
Gs1Handling
GS1 message handling options.
Default is PARSE
public Gs1Handling Gs1Handling { 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
StrictMode
If true, the barcode scanner will only return barcodes that pass the strict validation checks according to standards to avoid false positives.
Default is true
public bool StrictMode { get; set; }
Property Value
Methods
FromJson(string)
public static BarcodeFormatGs1CompositeConfiguration FromJson(string rawJson)
Parameters
rawJson
string