WorksheetCopy Method (Worksheet, CopyOptions) |
Copies contents and formats from another worksheet.
Namespace:
Aspose.Cells
Assembly:
Aspose.Cells (in Aspose.Cells.dll) Version: 22.5.0.0 (22.5.0)
Syntaxpublic void Copy(
Worksheet sourceSheet,
CopyOptions copyOptions
)
Public Sub Copy (
sourceSheet As Worksheet,
copyOptions As CopyOptions
)
public:
void Copy(
Worksheet^ sourceSheet,
CopyOptions^ copyOptions
)
member Copy :
sourceSheet : Worksheet *
copyOptions : CopyOptions -> unit
Parameters
- sourceSheet
- Type: Aspose.CellsWorksheet
Source worksheet. - copyOptions
- Type: Aspose.CellsCopyOptions
RemarksYou can copy data from another worksheet in the same file or another file. However, this method does not support to copy drawing objects, such as comments, images and charts.
See Also