search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Screen Resolutions and exportAs()

Asked by John
2 months ago.

I’m noticing that when exporting for print, depending on the screen resolution, the exported image looks differently when putting it in a .pdf. Do you have any examples that keep it consistent across screen resolutions?

Answer posted by Dan Letecky [DayPilot]
2 months ago.

The Calendar and Month components now support options.width parameter that will let you override the dynamic width calculated from the current view. It's available since build 2019.1.3595 (see the sandbox at


dp.exportAs("svg", {width: 500}).download();

The Scheduler component lets you specify the width indirectly using dateFrom and dateTo options (area: "range").

New Reply
This reply is
Your name (optional):