i have an application that adds hyperlinks to a pdf file using Aspose.pdf. The technique I am using is to find a TextFragment using the TextFragmentAbsorber, I add a link annotation over the TextFragment Rectangle, change the foreground color of the TextFragment to blue and set the TextState.Underline property to true. This works well.
I now have a need for an application that can remove one of these hyperlinks I have previously created. I have most of it working. I find the TextFragment, find the link annotation, delete the link annotation and set the text color to black. The problem I am having is removing the underline. In this application, when I get the TextFragment, its Textstate.Underline property is false, not true. So, setting it to false does nothing. So, what I need is the ability to find a horizontal line that is immediately below my TextFragment and remove it. I have not been able to find anything in your documentation or on the forums for doing this. Is it possible?