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.
- C#
- VB.NET
public class igQRCodeBarcode : igBase
Public Class igQRCodeBarcode
Inherits igBase
Constructors
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);
igQRCodeBarcode(options)
Constructs a new instance of the igQRCodeBarcode class using the specified options.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial 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);