Words Interface in Aspose.Words

Hi,

Is there any possibility to achieve same functionality in aspose as in automation related to words interface (https://docs.microsoft.com/en-us/previous-versions/office/developer/office-2003/ms265673(v=office.11))?

Firstly I need to take the words from the paragraph, i can do this using regular expression @"\b([\w\d]+)\b+, but except that i need to check if this word is marked by the comment, could you please give me some insight how to achieve that functionality?

And also i need to take information horizontal position of the words range object for example wordRange.get_Information(WdInformation.wdHorizontalPositionRelativeToPage)

Can i achieve same functionality in aspose?

Regards,

–Oleh

Hi Oleh,

Thanks for your inquiry. No, unfortunately, the is no such feature. However, you can use code like suggested here to get the commented text:
https://forum.aspose.com/t/find-and-replace-text-marked-by-comment/63509/8

Unfortunately, there is also no way to determine a position of a particular node. MS Word document is flow document, i.e. it does not contain any information about its layout into pages.

Best regards,