private static void RemoveColumn(Document doc)
{
// ExStart:RemoveColumn
// Get the second table in the document.
Table table = (Table)doc.GetChild(NodeType.Table, 1, true);
// Get the third column from the table and remove it.
Column column = Column.FromIndex(table, 2);
column.Remove();
// ExEnd:RemoveColumn
Console.WriteLine("\nThird column removed successfully.");
}
private static void InsertBlankColumn(Document doc)