Edit this page

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.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy