Class
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:

cs-api-definition
public class RadDocumentMerger

Inheritance: objectRadDocumentMerger

Constructors

RadDocumentMerger(RadDocument)

Initializes a new instance of the RadDocumentMerger class.

Declaration

cs-api-definition
public RadDocumentMerger(RadDocument targetDocument)

Parameters

targetDocument

RadDocument

The target document.

Properties

Document

Gets the target document.

Declaration

cs-api-definition
public RadDocument Document { get; }

Property Value

RadDocument

The document.

Methods

AppendDocument(RadDocument)

Appends the source RadDocument to the target RadDocument end.

Declaration

cs-api-definition
public void AppendDocument(RadDocument sourceDocument)

Parameters

sourceDocument

RadDocument

The source document.

AppendDocument(RadDocument, AppendDocumentOptions)

Appends the source RadDocument to the target RadDocument end.

Declaration

cs-api-definition
public void AppendDocument(RadDocument sourceDocument, AppendDocumentOptions appendDocumentOptions)

Parameters

sourceDocument

RadDocument

The source document.

appendDocumentOptions

AppendDocumentOptions

The append document options.

InsertDocument(RadDocument)

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

Declaration

cs-api-definition
public void InsertDocument(RadDocument sourceDocument)

Parameters

sourceDocument

RadDocument

The source document.

InsertDocument(RadDocument, InsertDocumentOptions)

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

Declaration

cs-api-definition
public void InsertDocument(RadDocument sourceDocument, InsertDocumentOptions insertDocumentOptions)

Parameters

sourceDocument

RadDocument

The source document.

insertDocumentOptions

InsertDocumentOptions

The insert document options.