Free Support Forum - aspose.com

No alternative for Microsoft.Office.Interop.Word sentences

Hi We have used Microsoft.Office.Interop.Word sentences in MS DLLs. But when converting them to use aspose, I found no alternate option to use ‘Sentences’. Can anyone help? Thanks in advance.

@jjesuxavie003,

I am afraid, Aspose.Words is not a Range based API and there is no equivalent of Sentences in Aspose.Words’ document object model. Please refer to Aspose.Words Document Object Model. Please let us know if you have any troubles in meeting your requirements and we will be glad to look into this further.

Thank you Awais for getting back. I’m working on pattern matching to replace certain content of the document. We have implemented using Doc based DLLs by splitting the paragraph by sentences and traverse them to find pattern.

@jjesuxavie003,

I believe, you can meet this requirement by using the find and replace functionality of Aspose.Words.