Class MultiFormatUPCEANReader
A reader that can read all available UPC/EAN formats. If a caller wants to try to read all such formats, it is most efficient to use this implementation rather than invoke individual readers.
public sealed class MultiFormatUPCEANReader : OneDReader, Reader
- Inheritance
-
MultiFormatUPCEANReader
- Implements
- Inherited Members
Constructors
MultiFormatUPCEANReader(IDictionary<DecodeHintType, object>)
Initializes a new instance of the MultiFormatUPCEANReader class.
public MultiFormatUPCEANReader(IDictionary<DecodeHintType, object> hints)
Parameters
hints
IDictionary<DecodeHintType, object>The hints.
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
introw number from top of the row
row
BitArraythe 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
reset()
Resets any internal state the implementation has after a decode, to prepare it for reuse.
public override void reset()