Aspose::Cells::WorksheetCollection::AddCopy method
Contents
[
Hide
]WorksheetCollection::AddCopy(const U16String&) method
Adds a worksheet to the collection and copies data from an existed worksheet.
int32_t Aspose::Cells::WorksheetCollection::AddCopy(const U16String &sheetName)
| Parameter | Type | Description | 
|---|---|---|
| sheetName | const U16String& | Name of source worksheet. | 
ReturnValue
Worksheet object index.
See Also
- Class Vector
 - Class U16String
 - Class WorksheetCollection
 - Namespace Aspose::Cells
 - Library Aspose.Cells for C++
 
WorksheetCollection::AddCopy(const char16_t*) method
Adds a worksheet to the collection and copies data from an existed worksheet.
int32_t Aspose::Cells::WorksheetCollection::AddCopy(const char16_t *sheetName)
| Parameter | Type | Description | 
|---|---|---|
| sheetName | const char16_t* | Name of source worksheet. | 
ReturnValue
Worksheet object index.
See Also
- Class Vector
 - Class WorksheetCollection
 - Namespace Aspose::Cells
 - Library Aspose.Cells for C++
 
WorksheetCollection::AddCopy(int32_t) method
Adds a worksheet to the collection and copies data from an existed worksheet.
int32_t Aspose::Cells::WorksheetCollection::AddCopy(int32_t sheetIndex)
| Parameter | Type | Description | 
|---|---|---|
| sheetIndex | int32_t | Index of source worksheet. | 
ReturnValue
Worksheet object index.
See Also
- Class Vector
 - Class WorksheetCollection
 - Namespace Aspose::Cells
 - Library Aspose.Cells for C++
 
WorksheetCollection::AddCopy(const Vector <Worksheet>&, const Vector <U16String>&) method
Copy a group of worksheets.
void Aspose::Cells::WorksheetCollection::AddCopy(const Vector<Worksheet> &source, const Vector<U16String> &destSheetNames)
| Parameter | Type | Description | 
|---|---|---|
| source | const Vector <Worksheet>& | The source worksheets. | 
| destSheetNames | const Vector <U16String>& | The names of the copied sheets. | 
See Also
- Class Vector
 - Class Worksheet
 - Class U16String
 - Class WorksheetCollection
 - Namespace Aspose::Cells
 - Library Aspose.Cells for C++