Edit this page

pdf.author String (default: null)

The author of the PDF document that will be visible in the PDF file metadata.

Example - setting the PDF document author

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
      pdf: {
          author: "John Doe"
      },
      dataSource: {
          data: [{ "items": [{ items: [{}] }] }],
          schema: { model: { children: "items" } }
      },
      layout: {
          type: "tree"
      }
  });

  var diagram = $("#diagram").getKendoDiagram();
  diagram.saveAsPDF();
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy