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>