public void EnsureRowMinimum()
{
//ExStart
//ExFor:Row.EnsureMinimum
//ExSummary:Shows how to ensure a row 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);
// Create a new row and add it to the table.
Row row = new Row(doc);
table.AppendChild(row);
// Ensure the row is valid (has at least one cell).
row.EnsureMinimum();
//ExEnd
}