Click here to Skip to main content
16,021,125 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends
I would like to read a table inside textframe in word document using C#

I tried with this code

C#
foreach (Microsoft.Office.Interop.Word.Shape shape in Doc.Shapes)
{
 if (shape.Type == Microsoft.Office.Core.MsoShapeType.msoTextBox)
  {
   var table = shape.TextFrame.ContainingRange.Tables;                    
  }
}


but to read rows in the table

Thanks
Posted
Comments
[no name] 13-Jul-15 10:50am    
Whats your question?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900