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

Pdf.margin

configuration

Specifies the margins of the page (numbers or strings with units). Supported units are "mm", "cm", "in" and "pt" (default).

<textarea id="editor"></textarea>
<script>
    $("#editor").kendoEditor({
        tools: ["pdf"],
        pdf: {
            margin: {
                bottom: 20,
                left: 20,
                right: 20,
                top: 20
            }
        }
    });
</script>

pdf.margin.bottom

Number|String

The bottom margin. Numbers are considered as "pt" units.

Default: 0

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
    tools: ["pdf"],
    pdf: {
        margin: {
            bottom: "1cm"
        }
    }
});
</script>

pdf.margin.left

Number|String

The left margin. Numbers are considered as "pt" units.

Default: 0

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
    tools: ["pdf"],
    pdf: {
        margin: {
            left: 20
        }
    }
});
</script>

pdf.margin.right

Number|String

The right margin. Numbers are considered as "pt" units.

Default: 0

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
    tools: ["pdf"],
    pdf: {
        margin: {
            right: "2cm"
        }
    }
});
</script>

pdf.margin.top

Number|String

The top margin. Numbers are considered as "pt" units.

Default: 0

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
    tools: ["pdf"],
    pdf: {
        margin: {
            top: 25
        }
    }
});
</script>