Class Code39Reader
Decodes Code 39 barcodes. Supports "Full ASCII Code 39" if USE_CODE_39_EXTENDED_MODE is set.
public sealed class Code39Reader : OneDReader, Reader
- Inheritance
-
Code39Reader
- Implements
- Inherited Members
Constructors
Code39Reader()
Creates a reader that assumes all encoded data is data, and does not treat the final character as a check digit. It will not decoded "extended Code 39" sequences.
public Code39Reader()
Code39Reader(bool)
Creates a reader that can be configured to check the last character as a check digit. It will not decoded "extended Code 39" sequences.
public Code39Reader(bool usingCheckDigit)
Parameters
usingCheckDigit
boolif true, treat the last data character as a check digit, not data, and verify that the checksum passes.
Code39Reader(bool, bool)
Creates a reader that can be configured to check the last character as a check digit, or optionally attempt to decode "extended Code 39" sequences that are used to encode the full ASCII character set.
public Code39Reader(bool usingCheckDigit, bool extendedMode)
Parameters
usingCheckDigit
boolif true, treat the last data character as a check digit, not data, and verify that the checksum passes.
extendedMode
boolif true, will attempt to decode extended Code 39 sequences in the text.
Properties
Alphabet
Returns a string with all possible characters
public static string Alphabet { get; }
Property Value
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