New to Telerik Document ProcessingStart a free 30-day trial

Configures how a source RadFlowDocument is merged into a target document, including style conflict resolution and paragraph marker handling.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Editing

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

C#
public class InsertDocumentOptions

Inheritance: objectInsertDocumentOptions

Constructors

Initializes a new instance of the InsertDocumentOptions class.

C#
public InsertDocumentOptions()

Properties

Gets or sets the strategy for resolving style name conflicts during document insertion, determining whether source styles are renamed or target styles are used.

The default value is RenameSourceStyle.

C#
public ConflictingStylesResolutionMode ConflictingStylesResolutionMode { get; set; }
Property Value:

The conflicting styles resolution mode.

        Gets or sets whether the final paragraph's formatting is preserved by inserting a new paragraph, rather than merging its inlines into the target paragraph.

        <p>If the value is 
csharp
true

, then a new paragraph with same formatting will be inserted. Otherwise, only the inlines from that paragraph will be inserted.

The default value is

csharp
true

.

C#
public bool InsertLastParagraphMarker { get; set; }
Property Value:

The insert last paragraph marker.