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
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
Hi,
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;