# RadDocumentMerger Overview

**RadDocumentMerger** introduces an API that enables users to merge two RadDocument instances or append them to each other. When performing merging operations, you may encounter conflicts between the different settings of two documents. Such conflicts can be resolved/avoided by changing the settings of **RadDocumentMerger**.

## Create a RadDocumentMerger

When instantiating the **RadDocumentMerger** class, you should pass to its constructor a [RadDocument](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/document-elements/features-raddocument) instance. This parameter represents the document that is used as a target when performing the merging operations.

#### **\[C#] Example 1: Create a RadDocumentMerger**

```C#

RadDocumentMerger merger = new RadDocumentMerger(targetDocument);
```

> The document passed to the constructor can be obtained through the **Document property** of the RadDocumentMerger instance.

You can use the methods of the RadDocumentMerger class to [insert the content of the desired documents at the caret position](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/features/merge-documents/merge) or just [append](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/features/merge-documents/append) it to the target document.

## See Also

* [Insert Document at the Caret Position](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/features/merge-documents/merge)
* [Append a Document](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/features/merge-documents/append)
