My company has recently changed the path of one of our drives. We have countless PDFs that containing links to documents in this drive. I am looking for a way to isolate each link in a PDF and edit that link with the new path.
Example:
old link \oldpath\directory\PDFsWithLinks
new link \newpath\directory\PDFsWithLinks
What I have working so far is the user selects a folder containing PDFs. The app then loops through them and I am able to change all the links to something generic like "www.google.com" but I can't figure out how to edit just part of the link.
What I am using mainly comes from this post
using ITextSharp to extract and update links in an existing PDF
though i don't need the part about creating a new PDf.
I have also looked here Editing Hyperlink and Anchors in PDF using ITextSharp