We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can we remove hyperlink in PDF document?

I’m looking for the way to remove hyperlink (still keep the text link) by Aspose PDF SDK but I couldn’t find document. I’m not sure if it’s possible. It’s good if you have a sample code.
Thanks!

Hi Vinh,


Thanks for your inquiry. You can search link annotation and change its properties as per your requirements. To remove URI you can set it empty. Please check code snippet/details in this thread. Hopefully it will help you to accomplish the task.

Please feel free to contact us for any further assistance.

Best Regards,