Welcome Guest Search | Active Topics | Sign In | Register

Canvas pages are blank in PDF Options
An
Posted: Wednesday, December 16, 2020 1:21:59 AM
Rank: Newbie
Groups: Member

Joined: 3/23/2020
Posts: 5
Hi,

We are using HTML to PDF and our pages contains CANVAS. When we export to pdf, the pages are blank. We have set MinLoadTime and MaxLoadTime but it doesn't work.

Any suggestions are appreciated.

Thanks,
An
eo_support
Posted: Friday, December 18, 2020 11:34:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,066
Hi,

What version do you use? Our older version does not fully support canvas but the current version should support canvas correctly.

Thanks
An
Posted: Friday, December 18, 2020 12:08:52 PM
Rank: Newbie
Groups: Member

Joined: 3/23/2020
Posts: 5
Hi,

The current version is 20.2.19.0

Thanks,
eo_support
Posted: Friday, December 18, 2020 3:23:46 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,066
Hi,

Please try to increase HtmlToPdf.Options.MinLoadWaitTime and see if it helps. It is possible that the conversion starts before your JavaScript code has finished drawing the canvas. In that case you will get blank canvas.

If the problem continues, please try to isolate the problem into a test project and then send the test project to us. See here for details on how to send test project to us:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.