Welcome Guest Search | Active Topics | Sign In | Register

Canvas is Blank in PDF Options
Genio
Posted: Friday, May 4, 2012 4:22:26 AM
Rank: Newbie
Groups: Member

Joined: 3/31/2012
Posts: 6
Does EO.Pdf support canvas?
We are converting our pages that contain canvas and in the generated pdf file the canvas is empty.
We are using .RenderAsPDF();

How do we fix this?

Thanks.
eo_support
Posted: Friday, May 4, 2012 9:49:33 AM
Rank: Administration
Groups: Administration

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

EO.Pdf does support HTML5 canvas.

We tested this feature and it works fine. It is possible that you get a blank canvas if there is a delay to trigger your canvas drawing script and the converter cut in before your drawing code is called. In that case you can increase HtmlToPdfOptions.MinLoadWaitTime and see if it helps:

http://www.essentialobjects.com/doc/4/eo.pdf.htmltopdfoptions.minloadwaittime.aspx

If the problem continues, please try to isolate the problem into a small test page and post the test page. Once we have that we will try to run it here to see if we can reproduce the problem. Usually as soon as we can reproduce it, we can get to the bottom of it.

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.