Hi i have to export my scheduler into pdf but when i export the style content in the file is not the same with the component
1 Answer, 1 is accepted
0
Accepted
Martin
Telerik team
answered on 08 Apr 2020, 02:36 PM
Hi Мaaloul,
Thank you for the provided screenshots.
In general, the PDF Export creates a document from what is currently visible on the page. I tested the Scheduler export component by changing the .k-event background color, but the style is exported as expected:
If a special font is used and correctly displayed in the browser but not in the exported PDF, then it needs to be loaded manually as demonstrated in this article from our documentation:
Also please check our dedicated page regarding the styling of content when exporting to pdf explaining how to customize the exported document. Apply the same CSS styles to the exported document like these ones that are already applied to the Scheduler.
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.