Merges the content of this SVG document with the element of a source document. Stores the result in this SVG document.
document
The source document. The elements of this document will be merged with the current SVG document. This value cannot be null.
options
Options used during conversion, specifying which elements to drop from the source or destination document during the merge operation. If this value is null, then all the elements from the source and destination documents are merged.
Use MergeWith to create a new SVG document from the union of the elements of the current and a source SVG document. After this method returns, the current SvgDocument object will contain all the current elements as well as the elements from the document.
The elements of document are placed on top of the current elements in this SvgDocument if any element occupies the same bounding rectangle.
Use the values of options to control which elements in this SvgDocument (the destination document) and document (the source document) to ignore during merging.