ImageGear22.Formats.Office Assembly > ImageGear.Formats.Office Namespace > ImGearExcelSheetDocument Class : Clone Method |
'Declaration Public Overrides Function Clone() As ImGearDocument
'Usage Dim instance As ImGearExcelSheetDocument Dim value As ImGearDocument value = instance.Clone()
public override ImGearDocument Clone()
public: ImGearDocument* Clone(); override
public: ImGearDocument^ Clone(); override
This method will create a deep copy of the Excel sheet document and it's underlying contents. However, it will not modify the orginal Excel document in any way, like by adding a sheet to it.
The cloned document will operate independently from the document it was cloned from as it contains a copy of all the pages.