Class
DocumentElementImporter

Imports document elements from one RadFlowDocument to another, merging styles and resolving conflicts.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

cs-api-definition
public class DocumentElementImporter

Inheritance: objectDocumentElementImporter

Constructors

DocumentElementImporter(RadFlowDocument, RadFlowDocument, ConflictingStylesResolutionMode)

Creates an importer that copies elements from the source document into the target document with the specified conflict resolution strategy.

Declaration

cs-api-definition
public DocumentElementImporter(RadFlowDocument targetDocument, RadFlowDocument sourceDocument, ConflictingStylesResolutionMode conflictingStylesResolutionMode)

Parameters

targetDocument

RadFlowDocument

The target document.

sourceDocument

RadFlowDocument

The source document.

conflictingStylesResolutionMode

ConflictingStylesResolutionMode

The conflicting styles resolution mode.

Methods

Import<T>(T)

Imports the specified element from the source document into the target document, cloning it and adjusting cross-references.

Declaration

cs-api-definition
public T Import<T>(T sourceElement) where T : DocumentElementBase

Parameters

sourceElement

T

The document element from the source document which shall be imported to the target document.

Returns

T

The element to import.