Retrieving hyperlink tooltip

Hi There

I’m trying to retrieve the tooltip values from hyperlinks in a Word document as they need to be translated.
I’m wondering is there a standard way of getting and setting these values in Aspose.Words?




Thanks for your inquiry. Hyperlinks in MS Word are fields. Each field consist of FieldStart, FieldEnd, FieldSeparator nodes and field code, field value text. In case of Hyperlink, field code looks like the following:
{ HYPERLINK " " \o "this is tooltip" }
Highlighted text is screentip. So to get screentip, you should first get field code and then parse the field code. Here you can find an example, which shows how you can modify hyperlinks:
I think this article could be useful for you.
Best regards,