Use aspose to delete a row in table

Hi,

Can I delete a existing row in table using Aspose.word? How to work on it if it is possible?

Regards,
Ken Wan

Hi

Thanks for your inquiry. Of course you can remove specific row from the table using Aspose.Words. Please see the following code:

// Open document.
Document doc = new Document(@"Test068\in.doc");
// Delete the row from the table.
doc.FirstSection.Body.Tables[0].Rows[1].Remove();
// Save output document.
doc.Save(@"Test068\out.doc");

Best regards,