I’m using the export service to create PDF of the scheduler. I’d like to change the font size in the PDF… how do I accomplish this?
I changed the date format prior to print like this:
function toPDF_reconfigure() {
// changing date format prior to pdf export
scheduler.templates.timeline_scale_date = function (date) {
return (date.getMonth() + 1) + "/" + date.getDate();
}
scheduler.updateView();
document.getElementById('hprint').click(); // forcing export service
// reverting back date format for scheduler in page
scheduler.templates.timeline_scale_date = function (date) {
return getDayAbbrev([date.getDay()]) + "<br/>" + date.getDate();
};
scheduler.updateView();
}
Current version of DHTMLX Scheduler doesn’t allow to provide different templates for the export states.
Please apply a custom styles in your app using the same way from the demo above.