ASPxRichEdit.MailMerge(String, DocumentFormat) Method

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

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v19.2.dll

Declaration

public void MailMerge(
    string fileName,
    DocumentFormat documentFormat
)
Public Sub MailMerge(
    fileName As String,
    documentFormat As DocumentFormat
)

Parameters

Name Type Description
fileName String

A name of the file to which the merged document is saved.

documentFormat DocumentFormat

A DocumentFormat enumeration member specifying the destination format.

Remarks

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 file.

See Also