borderObject

The border of the barcode area.

Example - set the border of the barcode

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

border.colorString(default: "black")

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

Example

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

border.dashTypeString(default: "solid")

The dash type of the border.

Example

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

border.widthNumber(default: 0)

The width of the border.

Example

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