TableEnsureMinimum Method |
Namespace: Aspose.Words.Tables
Document doc = new Document(); // Create a new table and add it to the document Table table = new Table(doc); doc.FirstSection.Body.AppendChild(table); // Ensure the table is valid (has at least one row with one cell) table.EnsureMinimum();