 | WorkbookRemoveWorksheet(Int32, Boolean) Method |
Removes the worksheet at the defined index and relocates current and selected worksheet references
Namespace: PicoXLSXAssembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
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