SpreadsheetExtension.PerformMailMerge(Func<Stream>, DocumentFormat, Object) 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
)
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. |
Returns
| Type | Description |
|---|---|
| SpreadsheetExtension | A SpreadsheetExtension object that represents the Spreadsheet extension. |
See Also