Skip to main content
A newer version of this page is available.

SnapMailMergeRecordFinishedEventArgs.RecordDocument Property

Provides access to the document created for a single record after the fields are processed.

Namespace: DevExpress.Snap

Assembly: DevExpress.Snap.v19.1.Core.dll

Declaration

public SnapDocument RecordDocument { get; }

Property Value

Type Description
SnapDocument

An object implementing the SnapDocument interface.

Remarks

Use the RecordDocument property to modify the document created for a particular record.

Example

This code snippet illustrates how to add text to the document generated by the SnapDocumentServer.SnapMailMerge method for the particular data record with index = 3.

static void server_SnapMailMergeRecordFinished(object sender, SnapMailMergeRecordFinishedEventArgs e)
{
    if (e.RecordIndex == 3)
    e.RecordDocument.AppendText("This is the third data record.\r\n");
}
See Also