Edit this page

pdf.keywords String (default: null)

Specifies the keywords that will appear in the metadata of the exported PDF file.

Example - setting the PDF document keywords

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
      pdf: {
          keywords: "monthly report"
      },
      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