Menu

Home

Nibras Khan

A simple .NET Library compatible with .NET 2.0, 3.0, 3.5 and 4.0 for C#. It can currently extract only the raw text from a .doc or .docx file. Use a RichTextBox instead of a normal TextBox to retain formatting, if you want to display it in your form.
By: Code7248
View Summary Page
Download Library:


­­ 
HOW TO USE:

Add a reference to the dll "Code7248.word_reader.dll"
Also add a using Statement as "using Code7248.word_reader;"

To extract text, use:

TextExtractor extractor = new TextExtractor(PathToWordDocument);
string text = extractor.ExtractText();
//The string 'text' is now loaded with the text from the Word Document