Table of Contents

Class BarcodeFormatCommonOneDConfiguration

Namespace
ScanbotSDK.MAUI.Core.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

BarcodeDefectProfile

Specifies which kind of barcode defects are tried to fix.

Default is GENERIC_AND_THERMAL.

public BarcodeDefectProfile BarcodeDefectProfile { get; set; }

Property Value

BarcodeDefectProfile

BlurryOneDScanner

If ENABLE, the scanner will try extra-hard to scan linear barcodes that are heavily blurred or otherwise damaged.

Default is ENABLE.

public ConfigState BlurryOneDScanner { get; set; }

Property Value

ConfigState

DamagedBarcodeReconstruction

If ENABLE, the scanner will try extra-hard to scan linear barcodes that are damaged in a way that every single scanline is corrupted, e.g. due to scratches, ink smudges, glare, or other damage or obstruction. Only affects the following barcode formats: Code39, Code128, Ean8, Ean13, and UpcA. Not used in low power or legacy mode.

Default is ENABLE.

public ConfigState DamagedBarcodeReconstruction { get; set; }

Property Value

ConfigState

Formats

List of linear (1D) barcode formats to scan.

public BarcodeFormat[] Formats { get; set; }

Property Value

BarcodeFormat[]

Gs1Handling

GS1 message handling options.

Default is PARSE.

public Gs1Handling Gs1Handling { get; set; }

Property Value

Gs1Handling

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

int

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

int

MinimumNumberOfRequiredFramesWithEqualRecognitionResult

Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only). Linear barcodes are more prone to false positives. Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.

Default is 1.

public int MinimumNumberOfRequiredFramesWithEqualRecognitionResult { get; set; }

Property Value

int

MinimumTextLength

Minimum text length. Applied only to linear barcode formats that allow variable length.

Default is 1.

public int MinimumTextLength { get; set; }

Property Value

int

OneDConfirmationMode

Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.

Default is THOROUGH.

public OneDConfirmationMode OneDConfirmationMode { get; set; }

Property Value

OneDConfirmationMode

StripCheckDigits

If true, the check digits are stripped from the result.

Default is false.

public bool StripCheckDigits { get; set; }

Property Value

bool

Methods

FromJson(string)

public static BarcodeFormatCommonOneDConfiguration FromJson(string rawJson)

Parameters

rawJson string

Returns

BarcodeFormatCommonOneDConfiguration