Skip to main content

Barcode

Namespace: Wisej.Web.Ext.Webix

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

The Barcode widget represents text values in a machine-readable format by varying the widths and spacing of parallel lines. The widget uses Canvas for lines rendering.

public class Barcode : wxBase

Constructors​

Instance member Barcode()​

Constructs a new instance of the Barcode class.

Example:

The following example creates an EAN-13 barcode and configures it through the options.

var barcode = new Barcode();
barcode.Options.type = "ean13";
barcode.Options.value = "123456789012";
barcode.Size = new Size(300, 150);
this.Controls.Add(barcode);

Instance member Barcode(options)​

Constructs a new instance of the Barcode class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates an EAN-8 barcode passing the Webix configuration to the constructor.

var barcode = new Barcode(new
{
type = "ean8",
value = "1234567"
});
barcode.Location = new Point(20, 20);
this.Controls.Add(barcode);

Implements​