Skip to end of metadata
Go to start of metadata

A smart class to decode the barcode inside a bitmap object

Definition

public class BarcodeReader : BarcodeReaderGeneric<UIImage>,

IBarcodeReader, IMultipleBarcodeReader

Summary

The following table summarizes the members exposed in this class.

Public Constructors


Public Constructors

public BarcodeReader()

Initializes a new instance of the BarcodeReader class.

public BarcodeReader(IReader reader, Func<UIImage, LuminanceSource> createLuminanceSource, Func<LuminanceSource, Binarizer> createBinarizer)

Initializes a new instance of the BarcodeReader class.

Parameters

reader Sets the reader which should be used to find and decode the barcode. If null then MultiFormatReader is used
createLuminanceSource Sets the function to create a luminance source object for a bitmap. If null, an exception is thrown when Decode is called
createBinarizer Sets the function to create a binarizer object for a luminance source. If null then HybridBinarizer is used

public BarcodeReader(IReader reader, Func<UIImage, LuminanceSource> createLuminanceSource, Func<LuminanceSource, Binarizer> createBinarizer, Func<Byte[], int, int, BitmapFormat, LuminanceSource> createRGBLuminanceSource)

Initializes a new instance of the BarcodeReader class.

Parameters

reader Reader.
createLuminanceSource Create luminance source.
createBinarizer Create binarizer.
createRGBLuminanceSource Create rgb luminance source.
  • No labels