Welcome Guest Search | Active Topics | Sign In | Register

document.ready is called prior to generation of PDF, but not Image creation(PNG) Options
Craig C.
Posted: Monday, October 7, 2013 5:18:07 PM
Rank: Member
Groups: Member

Joined: 1/16/2012
Posts: 17
When creating a PDF all the js/jquery code is fired prior to generation of the file. However I am seeing that not to be the case for PNG image creation.

Here is a sample file to see if you reproduce it:
https://dl.dropboxusercontent.com/u/90348/PDFvsPNGCreation.html

Thanks for your time.

Craig
eo_support
Posted: Monday, October 7, 2013 5:44:28 PM
Rank: Administration
Groups: Administration

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

That's normal. The converter does not know when your script has finished running. You can either increase HtmlToPdf.Options.MinLoadWaitTime, or use manual trigger:

http://www.essentialobjects.com/doc/4/htmltopdf/eo_js.aspx#manual_trigger

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.