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