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

Free Support Forum - aspose.com

How to extract a hyperlink from word document?

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

Hi,

How can I extract a Hyperlink from word Document using DocumentVisitor?

I know that I can detect it from :

public override VisitorAction VisitFieldStart(FieldStart fieldStart)

if (fieldStart.FieldType== FieldType.FieldHyperlink)

fieldStart. ?

return VisitorAction.Continue;

}

I need to extract the URL and the nametext.

Regards

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

Thanks for your request. I think this article could help you to resolve your issue:

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

Best regards.