pdf.margin Object

Specifies the margins of the page and accepts numbers or strings with units.

The supported units are:

  • mm
  • cm
  • in
  • (Default) pt

Example - setting the margins

<div id="propertyGrid"></div>
<script>
  $("#propertyGrid").kendoPropertyGrid({
    columns: {
        fieldColumn: { width: 200 },
        valueColumn: { width: 250 }
    },
    model: {
        foo: "bar",
        baz: 5
    },
    toolbar: ["pdf"],
    pdf: {
      margin: {
        left: 10,
        right: "10pt",
        top: "10mm",
        bottom: "1in"
      }
    }
  });
</script>
In this article