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

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

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

NameTypeDescription

container

An IContainercontainer.

Properties

Control: The Wisej Camera instance to attach to.

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

Methods

ParameterTypeDescription

extendee

Returns: Boolean.

Decodes a barcode from the given image.

ParameterTypeDescription

image

The image of the barcode.

Returns: String. The data encoded in the barcode.

Uses the ZXing.NET library to parse the image.

Resets the scanner in AutomaticOnce mode.

Scans the last frame from the attached Camera for a barcode.

Either the ScanError

Events

ScanEventHandler Fired when no barcode is detected in Manual mode.

ScanEventHandler Fired when the user scans a barcode.

Last updated