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

Free Support Forum - aspose.com

How to unlink hyperlinks and convert them to statictext

Hi to all,
Who can help me to unlink hyperlinks and convert them to statictext based on aspose.words.dll version 14 and VB.net 2008?
Thanks in advance!



Please refer to the following article.
How to Replace or Modify Hyperlinks and Replace Fields with Static Text

Thanks for your reference!
Unfortunately, By studying the reference myself, I still fail how to use it. Would you please show me the demo codes?



Please see these sample documents (Hyperlinks-example.zip (18.0 KB)) and try running the following code;

Document doc = new Document("E:\\temp\\Hyperlinks.docx");

FieldHyperlink link = (FieldHyperlink) doc.Range.Fields[0];


Thanks for your demo.
However, the demo works well on Aspose.Words.dll version 19 but not on version 14. How to perform it on version 14?


Unfortunately, we do not provide support for older versions of Aspose.Words. Please note that we do not provide any fixes or patches for old versions of Aspose.Words either. All fixes and new features are always added into new versions of Aspose.Words.

So, you will have to upgrade if you need to use the Unlink method and many other new features and fixes. We apologize for any inconvenience and thank you for your understanding.