Class DocumentElementImporter
Defines utility class used for importing document elements from a source Rad
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 Document
Declaration
public DocumentElementImporter(RadFlowDocument targetDocument, RadFlowDocument sourceDocument, ConflictingStylesResolutionMode conflictingStylesResolutionMode)
Parameters
Rad The target document. |
Rad The source document. |
Conflicting 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. |