Class
InsertDocumentOptions

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:

cs-api-definition
public class InsertDocumentOptions

Inheritance: objectInsertDocumentOptions

Constructors

InsertDocumentOptions()

Initializes a new instance of the InsertDocumentOptions class.

Declaration

cs-api-definition
public InsertDocumentOptions()

Properties

ConflictingStylesResolutionMode

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.

Declaration

cs-api-definition
public ConflictingStylesResolutionMode ConflictingStylesResolutionMode { get; set; }

Property Value

ConflictingStylesResolutionMode

The conflicting styles resolution mode.

InsertLastParagraphMarker

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.

If the value is

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

true
.

Declaration

cs-api-definition
public bool InsertLastParagraphMarker { get; set; }

Property Value

bool

The insert last paragraph marker.