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

Text.margin

configuration

The margin of the text

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

The bottom margin of the text.

Default: 0

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

The left margin of the text.

Default: 0

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

The right margin of the text.

Default: 0

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

The top margin of the text.

Default: 0

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