Click or drag to resize

IWorksheetGroup Add Method

Adds new worksheet to the collection.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
int Add(
	ITabSheet sheet
)

Parameters

sheet
Type: Spire.Xls.Core ITabSheet
Worksheet to add.

Return Value

Type: Int32
Index of the added worksheet.
Exceptions
Exception Condition
ArgumentNullException When sheet is Null.
See Also