Click or drag to resize

PictureClone Method

Clones this element instance.

Namespace:  SautinSoft.Document.Drawing
Assembly:  SautinSoft.Document (in SautinSoft.Document.dll) Version:
public Picture Clone(
	bool cloneDescendants


Type: SystemBoolean
to clone all descendants.

Return Value

Type: Picture
The cloned element.

This method serves as a copy constructor for elements. The cloned element has no parent, but belongs to the same document as the original element.

If you want to insert this element into another document, then you should first import it into another document with Import<T>(T,System.Boolean,System.Boolean) method and then insert the imported element.

See Also