@alexey.noskov how to identify a text is hyperlink or not in aspose word document?
Hi @vineeth.pv
I appreciate your interest in Aspose products.
private void Logic(Document doc)
{
foreach (Field field in doc.Range.Fields)
{
if ((field.Type == FieldType.FieldHyperlink))
{
string textWithHyperLink = field.DisplayResult;
}
}
}
I used the following file for testing the code sample.
IdentifyHyperLinks_input.docx (13.5 KB)
Please let me know if you would like to know something else.
Best regards.