RadDocumentMerger
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:
public class RadDocumentMerger
Inheritance: objectRadDocumentMerger
Constructors
Initializes a new instance of the RadDocumentMerger class.
public RadDocumentMerger(RadDocument targetDocument)
The target document.
Properties
Gets the target document.
public RadDocument Document { get; }
The document.
Methods
Appends the source RadDocument to the target RadDocument end.
public void AppendDocument(RadDocument sourceDocument, AppendDocumentOptions appendDocumentOptions)
The source document.
appendDocumentOptionsAppendDocumentOptionsThe append document options.
Appends the source RadDocument to the target RadDocument end.
public void AppendDocument(RadDocument sourceDocument)
The source document.
Inserts the source RadDocument document at the caret position in the target RadDocument.
public void InsertDocument(RadDocument sourceDocument, InsertDocumentOptions insertDocumentOptions)
The source document.
insertDocumentOptionsInsertDocumentOptionsThe insert document options.
Inserts the source RadDocument document at the caret position in the target RadDocument.
public void InsertDocument(RadDocument sourceDocument)
The source document.