padding Object

The padding of the barcode.

Example - set the padding of the barcode

<div id="barcode"></div>
<script>
$("#barcode").kendoBarcode({
  value:"123456",
  width: 300,
  padding: {
    top: 20,
    left: 5,
    right: 5,
    bottom: 5
  }
});
</script>

padding.bottom Number (default: 0)

The bottom padding of the barcode.

padding.left Number (default: 0)

The left padding of the barcode.

padding.right Number (default: 0)

The right padding of the barcode.

padding.top Number (default: 0)

The top padding of the barcode.

In this article