Hyperlink HTML Tag

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v4)  /  Hyperlink HTML Tag

DynamicPDF Generator for .NET (v4) Forum

 Jul 25 2012 5:45 AM
When converting HTML to PDF using HtmlTextArea element. The Hyperlink tags is ignored by the generator and produces simple text.
Can this functionality not achieved using this generator?
 Actual problem: Trying to convert a text like bellow
"<p>jewelry collection—Enchant. The collection highlights the company’s reputation as the world’s <a href="http://localhost/ViewBackgorunder.aspx?backgrounderId=22" target="_blank">diamond</a> authority and reflects a long tradition of nature-inspired jewels that has evolved over 175-year history.</p>"

The link getting ignored and the tags "<a href="http://localhost/ViewBackgorunder.aspx?backgrounderId=22" target="_blank">diamond</a>" converted as "diamond" only.

Please suggest..can it be possible in any upper version?


 Jul 25 2012 6:15 AM
Posted by a ceTe Software moderator
Hello,

The DynamicPDF Generator for .NET product does not support <a> HTML tag. You can refer the documentation on supported HTML tags here.

If you would like to add links then you can use Link page element and UrlAction class to achieve your requirements. You can refer documentation on Link which has sample code to add Link page element to PDF document.

Thanks,
ceTe Software Support Team.
 Jul 25 2012 7:02 AM
Link page element can not be used in this scenario, because the links is not predefined here. It is dynamic and can be anywhere in the paragraph. Is there any solution for this type of scenario.
 Jul 25 2012 7:22 AM
Posted by a ceTe Software moderator
Hello,

Currently it is not possible to add hyperlinks using <a> HTML tag using our DynamicPDF Generator for .NET product. We will add this feature to our wish list and we may add it to our future version of DynamicPDF Generator for .NET product but we do not have any exact time frame on this.

Thanks,
ceTe Software Support Team.
 Aug 30 2012 5:23 AM
Hi,

but how to give the link in paragaraph like "This is my Paragraph"

i want to give the link to "my" word and should display the paragraph with having link to "my" word.

i.e. want to give the link to perticular word in a paragraph

thanks
yashwant
 Aug 30 2012 7:47 AM
Posted by a ceTe Software moderator
Hello Yashwant,

It is not possible to adds links to the PDF document using TextArea and FormattedTextArea using our DynamicPDF Generator for .NET product.

If you know the X ,Y  position and page number of the text to which you want to add as link then you can use Link page element and specify the X and Y position to it and add it over the text.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 3:11 AM.