从工作表中移除列

从工作表中移除列

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

  • 访问任何所需的工作表 通过指定要删除的列的索引,从工作表中删除
// 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);