RichEditControl.MailMerge(IRichEditDocumentServer) Method
OBSOLETE
This method has become obsolete. Use another Mail
Merges data to the current document and sends the result to the specified RichEditDocumentServer instance.
Namespace: DevExpress.Xpf.RichEdit
Assembly: DevExpress.Xpf.RichEdit.v24.2.dll
NuGet Package: DevExpress.Wpf.RichEdit
#Declaration
[Browsable(false)]
[Obsolete("This method has become obsolete. Use another MailMerge method overload with appropriate parameters instead.")]
public void MailMerge(
IRichEditDocumentServer documentServer
)
#Parameters
Name | Type | Description |
---|---|---|
document |
IRich |
An object implementing the IRich |
#Remarks
Use this method to process the resulting document in the RichEditDocumentServer. For example, if merge fields are nested within DOCVARIABLE fields, you can call the FieldCollection.Update method to calculate field content by handling the IRichEditDocumentServer.CalculateDocumentVariable event.
The RichEditControl.CalculateDocumentVariable event is raised for the object with the IRichEditDocumentServer interface, passed as an argument to the MailMerge method.