Rank: Newbie Groups: Member
Joined: 1/10/2013 Posts: 4
|
Last steps in our evaluation before purchase.
Im having an issue generating the html links within the pdf. We are including the following html within the content being sent to EO.pdf component. <a href="http://www.swyftmobile.com">http://www.swyftmobile.com</a>
The coloring of this link in the pdf indicates that it is a link, but it is not clickable.
Below is a snippet of code we are using to generate the pdf and email it. PresentationContent contains the html.
MemoryStream ms = new MemoryStream(); EO.Pdf.HtmlToPdf.Options.ZoomLevel = 0.5F; EO.Pdf.HtmlToPdf.Options.BaseUrl = BASE_URL; // used for javascript EO.Pdf.HtmlToPdfResult result1 = EO.Pdf.HtmlToPdf.ConvertHtml(PresentationContent, ms); // the memorystream position must be set to ms.Position = 0; System.Net.Mail.Attachment attachment = new System.Net.Mail.Attachment(ms, DocumentName);
I can forward an example of the generated pdf is needed.
Am I missing something???
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
We tested it with our sample application and it works fine. Our steps are:
1. Run EO.Pdf Demo application; 2. Go to Basic -> Convert Html; 3. Paste <a href="http://www.swyftmobile.com">http://www.swyftmobile.com</a> into the text box; 4. Click "Run Demo";
In the result PDF file the you can click the link and it should work fine. Can you try the same and see if it works for you? If that works but your HTML does not work, you can try to isolate your HTML into a test page to reproduce the problem. Once you can reproduce the problem, you can send us the test HTML and we will be able to investigate further. Let us know when you have that so that we can PM you as to where to send them.
Thanks!
|