pdf.fileName String (default: "Export.pdf")

Specifies the file name of the exported PDF file.

Example - setting the default PDF file name

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

  var diagram = $("#diagram").getKendoDiagram();
  diagram.saveAsPDF();
</script>
In this article