 | WorkbookRemoveWorksheet(Int32, Boolean) Method |
Removes the worksheet at the defined index and relocates current and selected worksheet references
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntaxprivate void RemoveWorksheet(
int index,
bool resetCurrentWorksheet
)
Parameters
- index Int32
- Index within the worksheets list
- resetCurrentWorksheet Boolean
- If true, the current worksheet will be relocated to the last worksheet in the list
See Also