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
)
Function Add (
sheet As ITabSheet
) As Integer
int Add(
ITabSheet^ sheet
)
abstract Add :
sheet : ITabSheet -> int
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