Does anyone have an example of how to delete all existing links in an already existing PDF file? I have DynaPDFMBS Pro license if it helps.
You can do it like this:
- Import PDF Into DynaPDF
- Query GetAnnotCount to have count.
- For loop with i from count-1 downto 0
- Query GetAnnotType(i)
- If type is katWebLink, then call DeleteAnnotation.
- Save new PDF
Let me know if you have questions.