ImageGear .NET v25.2 - Updated
ImageGear.Formats.Office Assembly / ImageGear.Formats.Office Namespace / ImGearExcelSheetDocument Class / Clone Method




In This Topic
    Clone Method (ImGearExcelSheetDocument)
    In This Topic
    Creates a deep copy of the current Excel sheet document.
    Syntax
    '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 

    Return Value

    Remarks

    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.

    See Also