←Select platform

MergeWith Method

Summary

Merges the content of this SVG document with the element of a source document. Stores the result in this SVG document.

Syntax
C#
VB
Java
Objective-C
C++
public void MergeWith( 
   SvgDocument document, 
   SvgMergeOptions options 
) 
Public Sub MergeWith( _ 
   ByVal document As SvgDocument, _ 
   ByVal options As SvgMergeOptions _ 
)  
- (BOOL)mergeWithDocument:(LTSvgDocument *)document 
                  options:(nullable LTSvgMergeOptions *)options 
                    error:(NSError **)error 
public void mergeWith(SvgDocument document, SvgMergeOptions options) 
public: 
void MergeWith(  
   SvgDocument^ document, 
   SvgMergeOptions^ options 
)  

Parameters

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.

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly