WorksheetCollectionSwapSheet Method

Swaps the two sheets.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.5.0.0 (21.5)
Syntax
public void SwapSheet(
	int sheetIndex1,
	int sheetIndex2
)

Parameters

sheetIndex1
Type: SystemInt32
The first worksheet.
sheetIndex2
Type: SystemInt32
The second worksheet.
See Also