|
Rank: Newbie Groups: Member
Joined: 2/22/2012 Posts: 5
|
The Images are loaded partially . I tried to use HtmlToPdf.Options.MinLoadWaitTime = 10000; but that also is not working . I have graphs and Pie Charts (javascript Library called Raphael) Here is my Code: HtmlToPdf.Options.NoLink = true; HtmlToPdf.Options.GeneratePageImages = true; string calculatorPdfUrl = CalculatorPdfPageUrl + QueryString.Value; var pdf = HtmlToPdf.ConvertUrl(Request.Url.Host + ":" + Request.Url.Port + calculatorPdfUrl,new PdfDocument()); pdf.PdfDocument.Save(Server.MapPath("/Public/pdf.pdf")); //Set the appropriate ContentType. Response.ContentType = "Application/pdf"; //Get the physical path to the file. string filePath = Server.MapPath("/Public/pdf.pdf"); //Write the file directly to the HTTP content output stream. Response.AddHeader("content-disposition", "attachment;"); Response.WriteFile(filePath);
|
|
Rank: Newbie Groups: Member
Joined: 2/22/2012 Posts: 5
|
Svg Images are not loaded at all. Do I need to change any settings? I went through entire examples and post.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Svg should work fine as long as you do not use animation. When you use animation, we do not know when to take the snapshot so it won't work.
If you still have problems, try to isolate the problem into a small test html file and send that file to us (make sure you include all dependency files such as CSS, JavaScript, images, etc). Once we have that we will be happy to take a look. We will PM you as to where to send the file.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 2/22/2012 Posts: 5
|
Hey you can see the http://client.kurppahosk.com/tv4-b2b/price-2.php I am not able to get circular graphics (under Heading Mediafördelning:) in the pDF format. You can download the html and stylesheet using Firefox.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please check whether you are using the latest build. We tested your page Url and the circle renders fine. There are however some other artifacts that we are still looking into. We will let you know as soon as we have an update.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 2/22/2012 Posts: 5
|
I tested with the latest Build as well same problem .. We are using Raphael Jquery Plugins to generate Graphs and stuff.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have found the root cause that's causing the artifacts in the previous build and fixed that build. Please see your private for the download location of the new build. We have tested the new build with the link you provided and the result seems to be fine.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 2/22/2012 Posts: 5
|
No..Same problem.. I think I need to send you the code for same.. I am not able to get the Image.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Then it's almost certainly that you are using a different EO.Pdf.dll that the one we gave you. There are some very obvious difference in the results between the previous version and the new build we sent to you. If you are using the right build then there is no way you would not see the difference. You can run our demo application and convert the above Url and you should see the right result.
If you do not think that's the case, try to create a small test application to demonstrate the problem, then provide a download link for us to download the test application. Make sure you include everything needed for the product to run, including EO.Pdf.dll (do not include your license code if you are posting it publically).
Thanks
|
|