New to Telerik UI for WPFStart a free 30-day trial

Represents an utility class which is used for merging RadDocument instances at specific positions and their corresponding styles.

Definition

Namespace:Telerik.Windows.Documents.Model.Merging

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class RadDocumentMerger

Inheritance: objectRadDocumentMerger

Constructors

Initializes a new instance of the RadDocumentMerger class.

C#
public RadDocumentMerger(RadDocument targetDocument)
Parameters:targetDocumentRadDocument

The target document.

Properties

Gets the target document.

C#
public RadDocument Document { get; }
Property Value:

The document.

Methods

Appends the source RadDocument to the target RadDocument end.

C#
public void AppendDocument(RadDocument sourceDocument, AppendDocumentOptions appendDocumentOptions)
Parameters:sourceDocumentRadDocument

The source document.

appendDocumentOptionsAppendDocumentOptions

The append document options.

Appends the source RadDocument to the target RadDocument end.

C#
public void AppendDocument(RadDocument sourceDocument)
Parameters:sourceDocumentRadDocument

The source document.

Inserts the source RadDocument document at the caret position in the target RadDocument.

C#
public void InsertDocument(RadDocument sourceDocument, InsertDocumentOptions insertDocumentOptions)
Parameters:sourceDocumentRadDocument

The source document.

insertDocumentOptionsInsertDocumentOptions

The insert document options.

Inserts the source RadDocument document at the caret position in the target RadDocument.

C#
public void InsertDocument(RadDocument sourceDocument)
Parameters:sourceDocumentRadDocument

The source document.