Skip to main content

RichEditControl.CreateMailMergeOptions() Method

Creates an object for specifying the options used in mail merge operations.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v23.2.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap

Declaration

public MailMergeOptions CreateMailMergeOptions()

Returns

Type Description
MailMergeOptions

A MailMergeOptions class instance containing options used for mail merge.

Remarks

Default options used in mail merge operations are specified via the RichEditControl.Options.MailMerge property. If options should be modified for particular merges only, you can create a MailMergeOptions object using the CreateMailMergeOptions method, change options as required, and perform a merge using the RichEditControl.MailMerge method, which gets the MailMergeOptions as the parameter.

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

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