BlockContentControlClone Method |
Clones this element instance.
Namespace: SautinSoft.Document.CustomMarkupsAssembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2025.2.13
Syntaxpublic BlockContentControl Clone(
bool cloneDescendants
)
Public Function Clone (
cloneDescendants As Boolean
) As BlockContentControl
Parameters
- cloneDescendants Boolean
- to clone all descendants.
Return Value
BlockContentControl
The cloned element.
RemarksThis 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
ImportT(T, Boolean)
method and then insert the imported element.
See Also