Table of Contents

Method UngroupColumns

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

UngroupColumns(int, int)

Ungroups columns, as Excel's Data > Ungroup does. See UngroupRows(int, int).

public void UngroupColumns(int first, int last)

Parameters

first int

The first one-based column.

last int

The last one-based column.

Exceptions

ArgumentOutOfRangeException

The columns are outside the worksheet grid, or last is before first.

InvalidOperationException

The sheet is not a worksheet, or none of the columns is grouped.

InvalidDocumentException

The sheet's part is malformed.