Click or drag to resize
HeaderFooterClone Method (Boolean)
Clones this HeaderFooter instance.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1243
Syntax
public HeaderFooter Clone(
	bool cloneDescendants
)

Parameters

cloneDescendants
Type: SystemBoolean
If set to clone all descendants recursively; otherwise clone only current HeaderFooter.

Return Value

Type: HeaderFooter
Cloned HeaderFooter.
Remarks

Document content element instance can exist only in a one place in the document.

If you want to insert document content element into some other part of the same document, then clone the element and insert its clone.

If you want to insert document content element into another document, then you should first import it into another document with ImportT(T, Boolean, Boolean) method and then insert the imported element.

For more information, see cloning sample.

See Also