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

Free Support Forum - aspose.com

Setting a Document Hyperlink

Hi,
Would you please let me know how to convert the following MS Word line to its equivalent in Aspose Word?

' Add link
objWord.ActiveDocument.Hyperlinks.Item(1).Address = fPath

Thanks.

Hi

Thanks for your inquiry. Please see the following link to learn how to insert hyperlink into the document using Aspose.Words:
https://docs.aspose.com/words/net/working-with-hyperlinks/
If you would like to edit an existing hyperlink this article could be useful for you.
https://docs.aspose.com/words/net/working-with-hyperlinks/
Please let me know in case of any issues, I will be glad to help you.
Best regards.