Table of Contents

Class BarcodeFormatCommonConfiguration

Namespace
ScanbotSDK.MAUI.Barcode
Assembly
ScanbotSDK.Shared.dll

Convenience configuration for enabling the scanning of multiple barcode formats with a common configuration. Add to scanner configuration to enable and configure the scanning of multiple barcodes.

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 BarcodeFormatCommonConfiguration : BarcodeFormatConfigurationBase
Inheritance
BarcodeFormatCommonConfiguration
Inherited Members

Properties

Formats

List of barcode formats to scan. By default, the most commonly used formats are enabled.

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

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

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

bool

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 BarcodeFormatCommonConfiguration FromJson(string rawJson)

Parameters

rawJson string

Returns

BarcodeFormatCommonConfiguration