Class DocumentElementImporter
Imports document elements from one RadFlowDocument to another, merging styles and resolving conflicts.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class DocumentElementImporter
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
public DocumentElementImporter(RadFlowDocument targetDocument, RadFlowDocument sourceDocument, ConflictingStylesResolutionMode conflictingStylesResolutionMode)
Parameters
|
RadFlowDocument
targetDocument
The target document. |
|
RadFlowDocument
sourceDocument
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
public T Import<T>(T sourceElement)
where T : DocumentElementBase
Parameters
|
T
sourceElement
The document element from the source document which shall be imported to the target document. |
Returns
|
T
The element to import. |
Type Parameters
|
T
The type. |