Table of Contents

Class BarcodeFormatCode39Configuration

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

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

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