SpreadsheetExtension.PerformMailMerge(Func<Stream>, DocumentFormat, Object, String) Method
Initializes the mail merge process and generates the resulting documents containing the merged information.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v25.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public SpreadsheetExtension PerformMailMerge(
Func<Stream> templateContentAccessorByStream,
DocumentFormat templateDocumentFormat,
object mailMergeDataSource,
string mailMergeMode
)
Parameters
| Name | Type | Description |
|---|---|---|
| templateContentAccessorByStream | Func<Stream> | A method delegate to obtain a stream from which to generate the template document. |
| templateDocumentFormat | DocumentFormat | A DocumentFormat object specifying the template document format. |
| mailMergeDataSource | Object | An object specifying the data source object for mail merge. |
| mailMergeMode | String | A string value that specifies the mail merge mode. |
Returns
| Type | Description |
|---|---|
| SpreadsheetExtension | A SpreadsheetExtension object that represents the Spreadsheet extension. |
See Also