WorksheetCollectionInsert Method (Int32, SheetType)

Insert a worksheet.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 22.5.0.0 (22.5.0)
Syntax
public Worksheet Insert(
	int index,
	SheetType sheetType
)

Parameters

index
Type: SystemInt32
The sheet index
sheetType
Type: Aspose.CellsSheetType
The sheet type.

Return Value

Type: Worksheet
Returns an inserted worksheet.
See Also