ImageGear .NET v24.12 - Updated
Clone Method (ImGearDocument)




ImageGear24.Core Assembly > ImageGear.Core Namespace > ImGearDocument Class : Clone Method
Creates a new object that is the exact copy of the current instance.
Syntax
'Declaration
 
Public Overridable Function Clone() As ImGearDocument
'Usage
 
Dim instance As ImGearDocument
Dim value As ImGearDocument
 
value = instance.Clone()
public virtual ImGearDocument Clone()
public: virtual ImGearDocument* Clone(); 
public:
virtual ImGearDocument^ Clone(); 

Return Value

A new instance of ImGearDocument class.
Remarks
In contrast to MemberwiseClone, this method performs a deep copy (i.e., all objects, including contained pages, are cloned as well).
See Also

Reference

ImGearDocument Class
ImGearDocument Members