Skip to main content

igQRCodeBarcode

Namespace: Wisej.Web.Ext.Ignite

Assembly: Wisej.Web.Ext.Ignite (4.1.0.0)

The igQRCodeBarcode control is a HTML5, canvas-based control. It renders QR (Quick Response) Codes representing alphanumeric data such as a URL.

public class igQRCodeBarcode : igBase

Constructors​

Instance member igQRCodeBarcode()​

Constructs a new instance of the igQRCodeBarcode class.

Example:

The following example creates a QR code and sets the encoded text through the Options object.

var barcode = new igQRCodeBarcode();
barcode.Options.data = "https://wisej.com";
barcode.Size = new Size(200, 200);
this.Controls.Add(barcode);

Instance member igQRCodeBarcode(options)​

Constructs a new instance of the igQRCodeBarcode class using the specified options.

NameTypeDescription
optionsObjectInitial set of options passed to the igQRCodeBarcode widget: an anonymous object, a JSON string or a dynamic object.

Example:

The following example creates a QR code that encodes a URL using the highest error correction level.

var barcode = new igQRCodeBarcode(new
{
data = "https://wisej.com",
errorCorrectionLevel = "high"
});
barcode.Size = new Size(200, 200);
this.Controls.Add(barcode);

Implements​