Skip to main content
All docs
V21.2

SnapMailMergeRecordFinishedEventArgs.RecordDocument Property

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

Namespace: DevExpress.Snap

Assembly: DevExpress.Snap.v21.2.Core.dll

NuGet Package: DevExpress.Snap.Core

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.

View Example

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