RichEditBuilder.MailMerge(Action<MailMergeSettingsBuilder>) Method
Allows you to configure MailMerge settings.
Namespace: DevExpress.AspNetCore.RichEdit
Assembly: DevExpress.AspNetCore.RichEdit.v24.1.dll
NuGet Package: DevExpress.AspNetCore.RichEdit
Declaration
public RichEditBuilder MailMerge(
Action<MailMergeSettingsBuilder> configure
)
Parameters
Name | Type | Description |
---|---|---|
configure | Action<MailMergeSettingsBuilder> | A method that configures the MailMerge settings. |
Returns
Type | Description |
---|---|
RichEditBuilder | An object that can be used to further configure the Rich Text Editor. |
Remarks
@(Html.DevExpress().RichEdit("richEdit")
.Open("Documents/MailMergeTemplate.docx")
.MailMerge(m => m
.DataSource(SampleData.Companies)
.ViewMergedData(true)
.ActiveRecord(0)
)
)
See Also