Hi,
im using Aspose.Words for a couple of days now and i need to find tables in already existing documents to format them all in the same way. I don´t want to open any of these documents manually.
Is there any possible way to search an document for tables and then do something with them?
Many thanks in advance
Greetings,
Crazkur
Edit:
At the moment i am trying this to delete all rows except the first:
foreach (Table table in doc.GetChildNodes(NodeType.Table, false))
{
for (int i = 1; i < table.Rows.Count; i++)
{
table.Rows[i].Remove();
}
}
But the foreach never enters, as doc.GetChildNodes doesnt find anything