DocumentClone Method

Performs a deep copy of the Document.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.2
Syntax
public Document Clone()

Return Value

Type: Document
The cloned document.
Examples
Shows how to deep clone a document.
Document doc = new Document(MyDir + "Document.docx");
Document clone = doc.Clone();
See Also