Sample Download :
CS Version http://code.msdn.microsoft.com/CSOpenXmlGetPlainText-554918c3
VB Version: http://code.msdn.microsoft.com/VBOpenXmlGetPlainText-9f01eef4
This sample demonstrates how to extract the plain text from word document and export it to text files.
The sample also can keep the basic style of the document, like white space and new line. Customers don't need to install Office Software and also can read the plain text of a word document.
You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage http://1code.codeplex.com/.