Update Table in Document

Hello,

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?

Thanks.

Hi
Nikita

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

// Create document object
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.