| 
XlsWorksheetsCollection
AddCopy Method (Int32)
  | 
 Adds a copy of the worksheet at the specified index to the workbook.
 Namespace:
 Spire.Xls.Core.Spreadsheet.Collections
 Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
 Syntax
Syntax
 
 
public IWorksheet AddCopy(
	int sheetIndex
)
 
Public Function AddCopy ( 
	sheetIndex As Integer
) As IWorksheet
 
public:
IWorksheet^ AddCopy(
	int sheetIndex
)
 
member AddCopy : 
sheetIndex : int -> IWorksheet 
 
 
 
Parameters
 
- 
sheetIndex
 
- 
 Type:
 
System
Int32
 
 The zero-based index of the worksheet to copy.
Return Value
 
 Type:
 
IWorksheet
 
 The newly created copy of the worksheet.
 
 See Also
See Also