Aspose::Cells::Worksheet::Copy method

Worksheet::Copy(const Worksheet&) method

Copies contents and formats from another worksheet.

void Aspose::Cells::Worksheet::Copy(const Worksheet &sourceSheet)
ParameterTypeDescription
sourceSheetconst Worksheet&Source worksheet.

See Also

Worksheet::Copy(const Worksheet&, const CopyOptions&) method

Copies contents and formats from another worksheet.

void Aspose::Cells::Worksheet::Copy(const Worksheet &sourceSheet, const CopyOptions &copyOptions)
ParameterTypeDescription
sourceSheetconst Worksheet&Source worksheet.
copyOptionsconst CopyOptions&

Remarks

You 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