text.marginObject

The margin of the text

Example - set the margin of the text.

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

text.margin.bottomNumber(default: 0)

The bottom margin of the text.

Example - apply a bottom margin

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

text.margin.leftNumber(default: 0)

The left margin of the text.

Example - apply a left margin

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

text.margin.rightNumber(default: 0)

The right margin of the text.

Example - apply a right margin

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

text.margin.topNumber(default: 0)

The top margin of the text.

Example - apply a top margin

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