←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#
Objective-C
C++/CLI
Java
Python
public void MergeWith( 
   SvgDocument document, 
   SvgMergeOptions options 
) 
- (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 
)  
def MergeWith(self,document,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 23.0.2024.5.23
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.