Aspose.Word and Table


How to do that with Aspose instead of Word.




Thank you for considering Aspose.

Aspose.Word does not expose the Table class or table collection so it's impossible to readily obtain the number of tables in the documents or the number of rows in the table. Basically, this could be done by implementing the IDocumentVisitor interface but it seems too complex solution for such the purpose.

You can however delete a particular row from a table using DocumentBuilder.DeleteRow.