Skip to main content

ASPxRichEdit.MailMerge(Stream, DocumentFormat) Method

Initializes the mail merge process and generates the resulting documents containing the merged information.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v24.1.dll

NuGet Package: DevExpress.Web.Office


public void MailMerge(
    Stream stream,
    DocumentFormat documentFormat


Name Type Description
stream Stream

A Stream object that is the output stream.

documentFormat DocumentFormat

A DocumentFormat object specifying the document format in which to save a workbook (such as DOC, DOCX, etc).


The MailMerge method merges the current document with records retrieved from the default mail merge data source specified via the RichEdit’s DataSourceID (or DataSource) property and sends the merged document to the specified stream.

See Also