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

Free Support Forum - aspose.com

Add row and keep style

Dear Friends!
How can I delete only cell content in word table, but keep format: for example alignment


Please try using the following code:

Table tab = doc.FirstSection.Body.Tables[0];
Cell cell = tab.Rows[2].Cells[3];

Hope, this helps.