Table of Contents

Class BarcodeFormatCode39Configuration

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

Code 39 barcode and derivatives configuration. Add to scanner configuration to scan Code 39, Code 32 (Italian Pharmacode), PZN7 and PZN8 (Pharmazentralnummer) barcodes.

public class BarcodeFormatCode39Configuration : BarcodeFormatOneDConfigurationBase
Inheritance
BarcodeFormatCode39Configuration
Inherited Members

Properties

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

Code32

If true, scan and return valid CODE_32 (Italian Pharmacode) barcodes. If false, CODE_32 barcodes are not decoded and are returned as CODE_39 instead.

Default is false.

public bool Code32 { get; set; }

Property Value

bool

Code39

If true, scan CODE_39 barcodes.

Default is true.

public bool Code39 { get; set; }

Property Value

bool

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

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

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

Pzn7

If true, scan PZN7 (legacy Pharmazentralnummer) barcodes. If false, PZN7 barcodes are not decoded and are returned as CODE_39 instead.

Default is true.

public bool Pzn7 { get; set; }

Property Value

bool

Pzn8

If true, scan PZN8 (Pharmazentralnummer) barcodes. If false, PZN8 barcodes are not decoded and are returned as CODE_39 instead.

Default is true.

public bool Pzn8 { 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

TryCode39ExtendedMode

If true, try to scan CODE_39 in extended mode.

Default is false.

public bool TryCode39ExtendedMode { get; set; }

Property Value

bool

UseCode39CheckDigit

If true, return CODE_39 barcodes only if they have a valid check digit.

Default is false.

public bool UseCode39CheckDigit { get; set; }

Property Value

bool

Methods

FromJson(string)

public static BarcodeFormatCode39Configuration FromJson(string rawJson)

Parameters

rawJson string

Returns

BarcodeFormatCode39Configuration