Table of Contents

Class BarcodeFormatPharmaCodeConfiguration

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

PharmaCode barcode configuration. Add to scanner configuration to scan linear (1D) Laetus Pharmacode barcodes. Two-track PharmaCode scanning is configured separately through the PharmaCodeTwoTrackConfig class.

public class BarcodeFormatPharmaCodeConfiguration : BarcodeFormatOneDConfigurationBase
Inheritance
BarcodeFormatPharmaCodeConfiguration
Inherited Members

Properties

AllowNarrowBarsOnly

If true, a result consisting of only narrow bars is accepted as valid. The specification does not recommend such barcodes. Default is false.

Default is false

public bool AllowNarrowBarsOnly { get; set; }

Property Value

bool

AllowWideBarsOnly

If true, a result consisting of only wide bars is accepted as valid. The specification does not recommend such barcodes. Default is false.

Default is false

public bool AllowWideBarsOnly { get; set; }

Property Value

bool

MinimumValue

Minimum value for PharmaCode. Very low values are likely to produce more false positives.

Default is 16

public int MinimumValue { get; set; }

Property Value

int

Methods

FromJson(string)

public static BarcodeFormatPharmaCodeConfiguration FromJson(string rawJson)

Parameters

rawJson string

Returns

BarcodeFormatPharmaCodeConfiguration