NodeInsertBefore Method

Inserts the node before the existing child node child. If child is null, insert node at the end of the list of children. If child is a DocumentFragment object, all of its children are inserted, in the same order, before child. If the child is already in the tree, it is first removed.

Namespace:  Aspose.Svg.Dom
Assembly:  Aspose.SVG (in Aspose.SVG.dll) Version: 22.1
public Node InsertBefore(
	Node node,
	Node child


Type: Aspose.Svg.DomNode
The new child.
Type: Aspose.Svg.DomNode
The ref child.

Return Value

Type: Node
Returns inserted node
See Also