Kendo.Mvc.UI.Fluent.BarcodeBuilder

Defines the fluent API for configuring the Kendo UI Barcode

Methods

Padding(System.Double)

The padding of the barcode.

Parameters

padding System.Double

The configurator for the padding setting.

Encoding(Kendo.Mvc.UI.BarcodeSymbology)

The padding of the barcode.

Parameters

encoding Kendo.Mvc.UI.BarcodeSymbology

The configurator for the padding setting.

RenderAs(Kendo.Mvc.UI.RenderingMode)

Sets the preferred rendering engine. If it is not supported by the browser, the Barcode will switch to the first available mode.The supported values are: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available.

Parameters

value Kendo.Mvc.UI.RenderingMode

The value for RenderAs

Background(System.String)

The background of the barcode area. Any valid CSS color string will work here, including hex and rgb.

Parameters

value System.String

The value for Background

Border(System.Action<Kendo.Mvc.UI.Fluent.BarcodeBorderSettingsBuilder>)

The border of the barcode area.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.BarcodeBorderSettingsBuilder>

The configurator for the border setting.

Checksum(System.Boolean)

If set to true, the Barcode will display the checksum digit next to the value in the text area.

Parameters

value System.Boolean

The value for Checksum

Checksum

If set to true, the Barcode will display the checksum digit next to the value in the text area.

Color(System.String)

The color of the bar elements. Any valid CSS color string will work here, including hex and rgb.

Parameters

value System.String

The value for Color

Height(System.Double)

The height of the barcode in pixels. By default the height is 100.

Parameters

value System.Double

The value for Height

Padding(System.Action<Kendo.Mvc.UI.Fluent.BarcodePaddingSettingsBuilder>)

The padding of the barcode.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.BarcodePaddingSettingsBuilder>

The configurator for the padding setting.

Text(System.Action<Kendo.Mvc.UI.Fluent.BarcodeTextSettingsBuilder>)

Can be set to a JavaScript object which represents the text configuration.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.BarcodeTextSettingsBuilder>

The configurator for the text setting.

Value(System.String)

The initial value of the Barcode

Parameters

value System.String

The value for Value

Width(System.Double)

The width of the barcode in pixels. By default the width is 300.

Parameters

value System.Double

The value for Width

In this article
Not finding the help you need?