BarcodeReader
Wisej.Web.Ext.Barcode.BarcodeReader
Namespace: Wisej.Web.Ext.Barcode
Assembly: Wisej.Web.Ext.Barcode (3.2.0.0)
A component for extending the functionality of the Wisej Camera to include barcode detection.
public class BarcodeReader : Component, IExtenderProvider
Constructors
BarcodeReader()

Initializes a new instance of the BarcodeReader without a specified container.
BarcodeReader(container)

Initializes a new instance of the BarcodeReader class with a specified container.
Properties
Camera

Control: The Wisej Camera instance to attach to.
ScanMode

ScanMode: Returns or sets the mode in which the scanner should detect barcodes. (Default: Automatic
)
Methods
CanExtend(extendee)

Returns: Boolean.
DecodeBarcode(image)

Decodes a barcode from the given image.
Returns: String. The data encoded in the barcode.
Uses the ZXing.NET library to parse the image.
ResetScanner()

Resets the scanner in AutomaticOnce mode.
ScanImage()

Scans the last frame from the attached Camera for a barcode.
Either the ScanError
Events
ScanError

ScanEventHandler Fired when no barcode is detected in Manual mode.
ScanSuccess

ScanEventHandler Fired when the user scans a barcode.
Last updated
Was this helpful?