TMultiFormatReader Class

MultiFormatReader is a convenience class and the main entry point into the library for most uses. By default it attempts to decode all barcode formats that the library supports. Optionally, you can provide a hints object to request different behavior, for example only decoding QR codes.

Unit: ZXing.MultiFormatReader
TInterfacedObject
  ZXing.MultiFormatReader.TMultiFormatReader
type TMultiFormatReader = class(TInterfacedObject)

The TMultiFormatReader type exposes the following members.

Show:
 NameDescription
Destroy

Top
Show:
 NameDescription
hints

This method adds state to the MultiFormatReader. By setting the hints once, subsequent calls to decodeWithState(image) can reuse the same set of readers without reallocating memory. This is important for performance in continuous scan clients.

Top
Show:
 NameDescription
DecodeWithState

Decode an image using the state set up by calling setHints() previously. Continuous scan clients will get a large speed increase by using this instead of decode().

FreeReaders

Reset

decode

Overloaded. Decode an image using the hints provided. Does not honor existing state.

decode

Overloaded.

decode

Overloaded.

Top