GridWorksheetCollection.AddCopy
AddCopy(string)
Adds a worksheet to the collection and copies data from an existed worksheet.
public int AddCopy(string sheetName)
Parameter | Type | Description |
---|---|---|
sheetName | String | Name of source worksheet. |
Return Value
GridWorksheet
object index.
Exceptions
exception | condition |
---|---|
CellsException | Specifies an invalid worksheet name. |
See Also
- class GridWorksheetCollection
- namespace Aspose.Cells.GridWeb.Data
- assembly Aspose.Cells.GridWeb
AddCopy(int)
Adds a worksheet to the collection and copies data from an existed worksheet.
public int AddCopy(int sheetIndex)
Parameter | Type | Description |
---|---|---|
sheetIndex | Int32 | Index of source worksheet. |
Return Value
GridWorksheet
object index.
See Also
- class GridWorksheetCollection
- namespace Aspose.Cells.GridWeb.Data
- assembly Aspose.Cells.GridWeb