ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearDocument Class / Clone Method




In This Topic
    Clone Method (ImGearDocument)
    In This Topic
    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