We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Update Table in Document


I have document with multiple tables. I need to find one table in document (for example, by index) and change it. How can I do this?



Thank you for inquiry. Please follow up the code snippet to extract table by index:

// Create document object<o:p></o:p>

Document doc = new Document("d:/temp/temp.docx");

// Extract table by index 2

Table tbl = (Table)doc.GetChild(NodeType.Table, 2, true);

Moreover, i will suggest you to visit documentation here. I hope this will help you.