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

Free Support Forum - aspose.com

Remove links from PDFdocument

I can remove links from document

page.Annotations.Delete(link);

I can change font color from blue to black
textFragment.TextState.ForegroundColor = Color.Black;

But I can’t remove blue underlines… Why?
textFragment.TextState.Underline = false;



Hi Alexander,


Thanks for you inquiry. I am afraid currently Aspose.Pdf does not support to remove the underline. We have already logged a ticket PDFNEWNET-39639 in our issue tracking system for the ratification. We have linked your query to the issue id and we will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,