Table of Contents

Class PharmaCodeReader

Namespace
ZXing.OneD
Assembly
zxing.dll

Decodes PharmaCode

* @author Ruslan Karachun
public sealed class PharmaCodeReader : OneDReader, Reader
Inheritance
PharmaCodeReader
Implements
Inherited Members

Constructors

PharmaCodeReader()

public PharmaCodeReader()

Methods

decodeRow(int, BitArray, IDictionary<DecodeHintType, object>)

Attempts to decode a one-dimensional barcode format given a single row of an image.

public override Result decodeRow(int rowNumber, BitArray row, IDictionary<DecodeHintType, object> hints)

Parameters

rowNumber int

row number from top of the row

row BitArray

the black/white pixel data of the row

hints IDictionary<DecodeHintType, object>

decode hints

Returns

Result

Resultcontaining encoded string and start/end of barcode or null, if an error occurs or barcode cannot be found

mean(double[])

public static double mean(double[] m)

Parameters

m double[]

Returns

double