Skip to content

Clone

Creates a copy of the element. The copy is not part of the document until it is added to a collection with the collection's Append method, such as BlockCollection.Append.

1
myHyperlink.Clone(cloneDescendants?: boolean):Element

Parameters

boolean cloneDescendants optional
    When true, child elements are copied too.

Returns

The copy of the element.

See Also