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

Free Support Forum - aspose.com

How to get text of Word document using C#

i want to read just the Text of the word document (without any style/formatting information)

i tried Document.GetText() funtion but it returns text along with formatting information


Thanks for your query. Please read following documentation link for your kind reference.


Document doc = new Document(MyDir + "Document.doc");
string text = doc.Range.Text;