Skip to main content

SpreadsheetExtension.PerformMailMerge(Func<Byte[]>, 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.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public SpreadsheetExtension PerformMailMerge(
    Func<byte[]> templateContentAccessorByBytes,
    DocumentFormat templateDocumentFormat,
    object mailMergeDataSource,
    string mailMergeMode
)

Parameters

Name Type Description
templateContentAccessorByBytes Func<Byte[]>

A method delegate to obtain a byte array 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