public void EnsureTableMinimum()
{
//ExStart
//ExFor:Table.EnsureMinimum
//ExSummary:Shows how to ensure a table node is valid.
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();
//ExEnd
}