pdf.marginObject
Specifies the margins of the page (numbers or strings with units). Supported units are "mm", "cm", "in" and "pt" (default).
Example - set the margins
<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
tools: ["pdf"],
pdf: {
margin: {
bottom: 20,
left: 20,
right: 20,
top: 20
}
}
});
</script>
pdf.margin.bottomNumber|String
(default: 0)
The bottom margin. Numbers are considered as "pt" units.
pdf.margin.leftNumber|String
(default: 0)
The left margin. Numbers are considered as "pt" units.
pdf.margin.rightNumber|String
(default: 0)
The right margin. Numbers are considered as "pt" units.
pdf.margin.topNumber|String
(default: 0)
The top margin. Numbers are considered as "pt" units.
In this article