Class PDF417Reader
This implementation can detect and decode PDF417 codes in an image.
public sealed class PDF417Reader : Reader, MultipleBarcodeReader
- Inheritance
-
PDF417Reader
- Implements
- Inherited Members
Constructors
PDF417Reader()
public PDF417Reader()
Methods
decode(BinaryBitmap)
Locates and decodes a PDF417 code in an image.
public Result decode(BinaryBitmap image)
Parameters
image
BinaryBitmap
Returns
decode(BinaryBitmap, IDictionary<DecodeHintType, object>)
Locates and decodes a barcode in some format within an image. This method also accepts hints, each possibly associated to some data, which may help the implementation decode. Note this will return the FIRST barcode discovered if there are many.
public Result decode(BinaryBitmap image, IDictionary<DecodeHintType, object> hints)
Parameters
image
BinaryBitmapimage of barcode to decode
hints
IDictionary<DecodeHintType, object>passed as a IDictionary<TKey, TValue> from DecodeHintType to arbitrary data. The meaning of the data depends upon the hint type. The implementation may or may not do anything with these hints.
Returns
- Result
String which the barcode encodes
decodeMultiple(BinaryBitmap)
Locates and decodes Multiple PDF417 codes in an image.
public Result[] decodeMultiple(BinaryBitmap image)
Parameters
image
BinaryBitmap
Returns
- Result[]
decodeMultiple(BinaryBitmap, IDictionary<DecodeHintType, object>)
Locates and decodes multiple barcodes in some format within an image. This method also accepts hints, each possibly associated to some data, which may help the implementation decode.
public Result[] decodeMultiple(BinaryBitmap image, IDictionary<DecodeHintType, object> hints)
Parameters
image
BinaryBitmapimage of barcode to decode
hints
IDictionary<DecodeHintType, object>passed as a IDictionary<TKey, TValue> from DecodeHintType to arbitrary data. The meaning of the data depends upon the hint type. The implementation may or may not do anything with these hints.
Returns
- Result[]
String which the barcodes encode
reset()
Resets any internal state the implementation has after a decode, to prepare it for reuse.
public void reset()