pdf.paperSize String|Array (default: "auto")

Specifies the paper size of the PDF document. when auto (default), the paper size is determined by the content.

The supported values are:

  • A predefined size such as A4, A3, and so on.
  • An array of two numbers which specify the width and height in points (1pt = 1/72in).
  • An array of two strings which specify the width and height in units. The supported units are:
  • mm
  • cm
  • in
  • pt

The size of the content in pixels will match the size of the output in points (1 pixel = 1/72 inch).

Example - setting a custom paper size

<div id="propertyGrid"></div>
<script>
  $("#propertyGrid").kendoPropertyGrid({
    columns: {
        fieldColumn: { width: 200 },
        valueColumn: { width: 250 }
    },
    model: {
        foo: "bar",
        baz: 5
    },
    toolbar: ["pdf"],
    pdf: {
      paperSize: ["20mm", "20mm"]
    },
  });
</script>
In this article