New to Kendo UI for jQueryStart a free 30-day trial

Border

configuration

The border of the barcode area.

border

Object
<div id="barcode"></div>
<script>
$("#barcode").kendoBarcode({
  value:"123456",
  width: 300,
  border: {
    width: 2,
    dashType: "solid",
    color: "black"
  }
});
</script>

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

Default: "black"

<div id="barcode"></div>
<script>
$("#barcode").kendoBarcode({
    width: 300,
    value: "123456",
    border: {
        color: "red"
    }
});
</script>

The dash type of the border.

Default: "solid"

<div id="barcode"></div>
<script>
$("#barcode").kendoBarcode({
    width: 300,
    value: "123456",
    border: {
        dashType: "dash"
    }
});
</script>

The width of the border.

Default: 0

<div id="barcode"></div>
<script>
$("#barcode").kendoBarcode({
    width: 300,
    value: "123456",
    border: {
        width: 2
    }
});
</script>