Welcome Guest Search | Active Topics | Sign In | Register

Update hyperlinks within converted PDF Options
Prasanna
Posted: Tuesday, March 19, 2019 12:25:23 AM
Rank: Newbie
Groups: Member

Joined: 3/19/2019
Posts: 1
Code: C#


Hi,

I am using EPOPDF for .Net and HTMLToPDF class to convert web pages (.aspx) to PDF taking url as input.

Requirement: How to do I update the hyperlinks within the converted pdf to point to a new url?

Thanks!
eo_support
Posted: Tuesday, March 19, 2019 10:22:27 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Hi,

As you can imagine the easiest way would be for you to update the source of the page. However if that's not possible, you can load the Url into the browser engine, then run some JavaScript code to update the Urls, then trigger the conversion. You will need to use HtmlToPdfSession object to do that. See here for more details:

https://www.essentialobjects.com/doc/pdf/htmltopdf/session.aspx

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.