I'm trying to extend the Print Window to show an Export to PDF button. This is what I've got so far but the pdf is blank. Can you provide any guidance on what I should pass to exportContent because getPrintCanvas doesn't seem to be working.
Code:
isc.PrintWindow.addProperties({ headerControls: ["headerIcon", "headerLabel","exportButton", "printButton", "closeButton"], exportButtonDefaults : { _constructor: "IButton", title: LABEL_EXPORT, icon:"pdficon_small.png", height: 20, click: "this.creator.exportClicked()" }, exportClicked : function () { var pc = this.getPrintCanvas(); if (!pc) return; var settings = {skinName: "Graphite", pdfName: "summary" }; isc.RPCManager.exportContent(pc,settings) } });
Comment