Method DeleteColumns
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
DeleteColumns(int, int)
Deletes columns; the columns to the right move left.
public void DeleteColumns(int at, int count = 1)
Parameters
Remarks
See DeleteRows(int, int).
Exceptions
- ArgumentOutOfRangeException
The columns are not inside the grid.
- InvalidOperationException
The sheet is not a worksheet.
- UnsupportedFeatureException
The columns hold part of an array formula, or a column of a table.
- InvalidDocumentException
A part of the workbook is malformed.