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)
Syntaxpublic Worksheet Insert(
int index,
SheetType sheetType
)
Public Function Insert (
index As Integer,
sheetType As SheetType
) As Worksheet
public:
Worksheet^ Insert(
int index,
SheetType sheetType
)
member Insert :
index : int *
sheetType : SheetType -> Worksheet
Parameters
- index
- Type: SystemInt32
The sheet index - sheetType
- Type: Aspose.CellsSheetType
The sheet type.
Return Value
Type:
WorksheetReturns an inserted worksheet.
See Also