ASPxRichEdit.MailMerge(MailMergeOptions, Document) 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(
    MailMergeOptions mailMergeOptions,
    Document document
)
Public Sub MailMerge(
    mailMergeOptions As MailMergeOptions,
    document As Document
)

Parameters

Name Type Description
mailMergeOptions MailMergeOptions

A MailMergeOptions interface exposing options for the current merge.

document Document

An object exposing the Document interface to which the merged document is sent.

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 (starting from the MailMergeOptions.FirstRecordIndex through the MailMergeOptions.LastRecordIndex, as specified via the mailMergeOptions parameter) and sends the merged document to the specified document container.

See Also