Back to Devexpress

RichEditControl.MailMerge(MailMergeOptions, IRichEditDocumentServer) Method

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-dot-mailmerge-x28-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-mailmergeoptions-devexpress-dot-xtrarichedit-dot-iricheditdocumentserver-x29.md

latest2.9 KB
Original Source

RichEditControl.MailMerge(MailMergeOptions, IRichEditDocumentServer) Method

OBSOLETE

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

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

Namespace : DevExpress.Xpf.RichEdit

Assembly : DevExpress.Xpf.RichEdit.v25.2.dll

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
[Browsable(false)]
[Obsolete("This method has become obsolete. Use another MailMerge method overload with appropriate parameters instead.")]
public void MailMerge(
    MailMergeOptions options,
    IRichEditDocumentServer targetDocumentServer
)
vb
<Browsable(False)>
<Obsolete("This method has become obsolete. Use another MailMerge method overload with appropriate parameters instead.")>
Public Sub MailMerge(
    options As MailMergeOptions,
    targetDocumentServer As IRichEditDocumentServer
)

Parameters

NameTypeDescription
optionsMailMergeOptions

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 RichEditControl.CalculateDocumentVariable event is raised for the object with the IRichEditDocumentServer interface, passed as an argument to the MailMerge method.

See Also

Mail Merge in Rich Text Editor

RichEditControl Class

RichEditControl Members

DevExpress.Xpf.RichEdit Namespace