appendChild method
appendChild(newChild)
Adds the specified node to the end of the list of child nodes for this node.
appendChild(newChild: Aspose.Words.Node)
Parameter | Type | Description |
---|---|---|
newChild | Node | The node to add. |
Remarks
If the newChild is already in the tree, it is first removed.
If the node being inserted was created from another document, you should use DocumentBase.importNode() to import the node to the current document. The imported node can then be inserted into the current document.
Returns
The node added.
See Also
- module Aspose.Words
- class CompositeNode