Aspose::Cells::WorksheetCollection::Insert method

WorksheetCollection::Insert(int32_t, SheetType) method

Insert a worksheet.

Worksheet Aspose::Cells::WorksheetCollection::Insert(int32_t index, SheetType sheetType)
ParameterTypeDescription
indexint32_tThe sheet index
sheetTypeSheetTypeThe sheet type.

ReturnValue

Returns an inserted worksheet.

See Also

WorksheetCollection::Insert(int32_t, SheetType, const U16String&) method

Insert a worksheet.

Worksheet Aspose::Cells::WorksheetCollection::Insert(int32_t index, SheetType sheetType, const U16String &sheetName)
ParameterTypeDescription
indexint32_tThe sheet index
sheetTypeSheetTypeThe sheet type.
sheetNameconst U16String&The sheet name.

ReturnValue

Returns an inserted worksheet.

See Also

WorksheetCollection::Insert(int32_t, SheetType, const char16_t*) method

Insert a worksheet.

Worksheet Aspose::Cells::WorksheetCollection::Insert(int32_t index, SheetType sheetType, const char16_t *sheetName)
ParameterTypeDescription
indexint32_tThe sheet index
sheetTypeSheetTypeThe sheet type.
sheetNameconst char16_t*The sheet name.

ReturnValue

Returns an inserted worksheet.

See Also