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

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Please see the following link to learn how to insert hyperlink into the document using Aspose.Words:

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/inserting-a-hyperlink.html

If you would like to edit an existing hyperlink this article could be useful for you.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/replace-or-modify-hyperlinks.html

Please let me know in case of any issues, I will be glad to help you.

Best regards.