MailMergeSettingsBuilder.ActiveRecord(Int32) Method

Sets the index of a data record displayed by fields in a mail-merge document.

Namespace: DevExpress.AspNetCore.RichEdit

Assembly: DevExpress.AspNetCore.RichEdit.v21.1.dll

Declaration

public MailMergeSettingsBuilder ActiveRecord(
    int value
)

Parameters

Name Type Description
value Int32

The number of a record in a data source.

Returns

Type Description
MailMergeSettingsBuilder

An object that can be used to further configure the MailMerge settings.

Remarks

Run Demo: Ribbon Customization

@(Html.DevExpress().RichEdit("richEdit")
    .Open("Documents/MailMergeTemplate.docx")
    .MailMerge(m => m
        .DataSource(SampleData.Companies)
        .ViewMergedData(true)
        .ActiveRecord(0)
    )
)
See Also