Table of Contents

Class PDF417Reader

Namespace
ZXing.PDF417
Assembly
zxing.dll

This implementation can detect and decode PDF417 codes in an image.

SITA Lab (kevin.osullivan@sita.aero) Guenther Grau

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.

a String representing the content encoded by the PDF417 code if a PDF417 cannot be decoded

public Result decode(BinaryBitmap image)

Parameters

image BinaryBitmap

Returns

Result

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 BinaryBitmap

image 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.

an array of Strings representing the content encoded by the PDF417 codes

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 BinaryBitmap

image 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()