To relink hyperlinks from HTML to PDF, convert the HTML to PDF by using the HtmlToPdfResult and then append the PDF file that has to be navigated. Hyperlinks are converted to the PdfDocumentLinkAnnotation in PDF. So, the file can be loaded and added to the page in the PdfDestination by using the PdfDocumentLinkAnnotation. The following code example displays the same.
C#
C# Sample Link: http://www.syncfusion.com/downloads/support/directtrac/general/RelinkHtmltoPdf1294067253.zip |
This page will automatically be redirected to the sign-in page in 10 seconds.