从工作表中删除列

从工作表中删除列

要从工作表中删除列,请按照以下步骤操作:

  • 访问任何想要的工作表
  • 去掉柱子来自工作表通过指定要删除的列的索引
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Accessing first worksheet of the Grid
Worksheet sheet = gridDesktop1.Worksheets[0];
// Removing the first column of the worksheet
sheet.RemoveColumn(0);