Table of Contents

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

at int

The first one-based column deleted.

count int

How many columns.

Remarks

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.