ClassDocumentElementImporter
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:
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
public DocumentElementImporter(RadFlowDocument targetDocument, RadFlowDocument sourceDocument, ConflictingStylesResolutionMode conflictingStylesResolutionMode)
Parameters
targetDocument
The target document.
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
sourceElement
T
The document element from the source document which shall be imported to the target document.
Returns
T
The element to import.