Skip to main content

RichEditDocumentServer.MailMerge(MailMergeOptions, IRichEditDocumentServer) Method

OBSOLETE

This method has become obsolete. Use another MailMerge method overload with appropriate parameters instead.

Merges the current document using the specified options and sends the result to the specified RichEditDocumentServer instance.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

[Browsable(false)]
[Obsolete("This method has become obsolete. Use another MailMerge method overload with appropriate parameters instead.")]
public void MailMerge(
    MailMergeOptions options,
    IRichEditDocumentServer targetDocumentServer
)

Parameters

Name Type Description
options MailMergeOptions

A MailMergeOptions interface exposing options for the current merge.

targetDocumentServer IRichEditDocumentServer

An object implementing the IRichEditDocumentServer interface, such as the RichEditDocumentServer or the RichEditControl instance.

Remarks

Use this method to further process the resulting document in the RichEditDocumentServer

The IRichEditDocumentServer.CalculateDocumentVariable event is raised for the object with the IRichEditDocumentServer interface, passed as an argument to the MailMerge method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MailMerge(MailMergeOptions, IRichEditDocumentServer) 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