Class DocumentElementImporter
Defines utility class used for importing document elements from a source RadFlowDocument into target RadFlowDocument.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class DocumentElementImporter
Constructors
DocumentElementImporter(RadFlowDocument, RadFlowDocument, ConflictingStylesResolutionMode)
Initializes a new instance of the DocumentElementImporter class.
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 document element from the source document. The target document is adjusted in order the import to be correct.
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. |