Edit this page

pdf.subject String (default: null)

Sets the subject of document, which will be shown in the PDF file metadata.

Example - setting the PDF document subject

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
      pdf: {
          subject: "Placement of Products"
      },
      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