Skip to main content

MailMergeOptions.MergeMode Property

Gets or sets how the merged ranges are delimited in the resulting document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

MergeMode MergeMode { get; set; }

Property Value

Type Description
MergeMode

An enumeration value that indicates the delimiter.

Available values:

Name Description
NewParagraph

Specifies that the next merged range starts with a new paragraph.

NewSection

Specifies that the next merged range starts with a new section. The section break type is obtained from the previous section break or set to the NextPageby default. For headers and footers, it is the only allowed option.

JoinTables

Enables you to join rows, which result from a mail merge involving a table with merged fields, into a whole table.

Remarks

If a merge field is located in a document’s header or footer, the MergeMode should be set to MergeMode.NewSection for proper operation.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MergeMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also