pdf.title String
(default: null)
Sets the title of the document, which will be shown in the PDF file metadata.
Example - setting the PDF document title
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
pdf: {
title: "Products"
},
dataSource: {
data: [{ "items": [{ items: [{}] }] }],
schema: { model: { children: "items" } }
},
layout: {
type: "tree"
}
});
var diagram = $("#diagram").getKendoDiagram();
diagram.saveAsPDF();
</script>