kendoBarcode
Namespace: Wisej.Web.Ext.Kendo
Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)
The Barcode represents data in a machine-readable format.
- C#
- VB.NET
public class kendoBarcode : kendoBase
Public Class kendoBarcode
Inherits kendoBase
Constructors
kendoBarcode()
Constructs a new instance of the kendoBarcode class.
Example:
The following example creates a Code 128 barcode and sets the encoded value through the Options property.
var barcode = new kendoBarcode();
barcode.Options.type = "code128";
barcode.Options.value = "WJ-2025-0815";
barcode.Size = new Size(280, 100);
this.Controls.Add(barcode);
kendoBarcode(options)
Constructs a new instance of the kendoBarcode class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates an EAN-8 barcode.
var barcode = new kendoBarcode(new
{
type = "ean8",
value = "1234567"
});
barcode.Size = new Size(200, 100);
this.Controls.Add(barcode);