ImageGear22.Formats.Office Assembly > ImageGear.Formats.Office Namespace > ImGearExcelSheetPage Class : Clone Method |
'Declaration Public Overrides Function Clone() As ImGearPage
'Usage Dim instance As ImGearExcelSheetPage Dim value As ImGearPage value = instance.Clone()
public override ImGearPage Clone()
public: ImGearPage* Clone(); override
public: ImGearPage^ Clone(); override
The new instance returned by this method will be a deep clone, in that it will copy all the internal content needed for displaying or printing. However, it will have no connection to the document which the object this instance was cloned from was attached to.
The ReleaseRenderCache method will have no effect on cloned instances. Once you release all of your references to the clone it will be made available for garbage collection.