CVB.Net 14.0
PharmaCode Class Reference

Configuration for Pharma Code reading. More...

Inherits ReaderConfigurationBase.

Public Member Functions

 PharmaCode ()
 ctor
 

Static Public Attributes

const byte MinDigitsLimit = 2
 Minimum number of digits in a Pharma code.
 
const byte MaxDigitsLimit = 16
 Maximum number of digits in a Pharma code.
 
const byte MinScaleFactorLimit = 50
 Minimum scale factor allowable for Pharma code.
 
const byte MaxScaleFactorLimit = 200
 Maximum scale factor allowable for Pharma code.
 
const byte MinQuietzoneWidthLimit = 10
 Minimum quiet zone width.
 
const byte MaxQuietzoneWidthLimit = 200
 Maximum quiet zone width.
 
const short MinPixelReferenceLimit = 0
 Minimum pixel reference.
 
const short MaxPixelReferenceLimit = 1000
 Maximum pixel reference.
 

Properties

PharmaCodeRunDirection Direction [get, set]
 Run direction of the Pharma Code. The overall Barcode orientation mode of the reader will have no effect for Pharma Codes.
 
int MinDigits [get, set]
 Minimum number of digits in the code.
 
int MaxDigits [get, set]
 Maximum number of digits in the code.
 
int ScaleFactor [get, set]
 Scale factor for code reading. Value values are in the interval [50...200].
 
int QuietzoneWidth [get, set]
 Width of the quiet zone in 1/10th of a millimeter. Valid values are in the interval [10...200].
 
int PixelReference [get, set]
 Value that allows calibration of the Pharma codes pixel to real world dimensions. The PixelReference value defines how many 1/10 pixels there are to a millimeter. Valid values are in the interval [0...1000].
 
int Threshold [get, set]
 Binarization threshold in %. Valid values are in the interval [0...100].
 
PharmaCodeSkew Skew [get, set]
 Skew of the code bars to be expected.
 
PharmaCodeTolerance Tolerance [get, set]
 Set the tolerance level for Pharma Code reading.
 
- Properties inherited from ReaderConfigurationBase
OnOffPropertyType Inverse [get, set]
 Barcode or Matrix code is inverted in the image.
 

Additional Inherited Members

- Protected Member Functions inherited from Base
void SetDirty ()
 Sets the dirty flag.
 

Detailed Description

Configuration for Pharma Code reading.