Rank: Newbie Groups: Member
Joined: 6/25/2015 Posts: 4
|
hi, when i generate pdf sometimes pdf layout goes left .i genrate multiple times and same code run other instance, working properly.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
You can try to increase HtmlToPdf.Options.MinLoadWaitTime and see if it helps. Most likely is because you have code that loads CSS but for some reason that part times out. As a result, some CSS are not loaded correctly sometimes. When the corresponding CSS is not loaded properly, the page would render wrong.
If the problem continues, you will want to use a traffic monitor to check the traffic between EO.Pdf and your web server to see if you can find that some requests are failing. If you do see some request failing, try to resolve those and then see if it resolves the issue for you.
Thanks!
|