Table of Contents

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

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

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