how to get contents in table with format

J

Jed

Now,I create a button to get the word and display it in my program.But when
there is a table in the word ,after I click the button ,I will see the
content in my program without the table.
How can I get the content with table?
My code is :

oWordApplic = new Word.ApplicationClass();
oDoc=new Word.Document();
string strContent = "";
Open(strFilePath);
object x="3";
oDoc.ConvertNumbersToText (ref x);
strContent = oDoc.Content .Text ;
return strContent;



who can help me ?Thanks!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top