Click or drag to resize

XlsWorksheet InsertColumn Method (Int32, Int32, InsertOptionsType)

Inserts an empty column with default formatting.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void InsertColumn(
	int columnIndex,
	int columnCount,
	InsertOptionsType insertOptions
)

Parameters

columnIndex
Type: System Int32
Index at which new column should be inserted
columnCount
Type: System Int32
Number of columns to insert.
insertOptions
Type: Spire.Xls InsertOptionsType
Insert options.
See Also