Back to Devexpress

SpreadsheetExtension.PerformMailMerge(Func<Byte[]>, DocumentFormat, Object, String) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-spreadsheetextension-dot-performmailmerge-x28-system-dot-func-system-dot-byte-devexpress-dot-spreadsheet-dot-documentformat-system-dot-object-system-dot-string-x29.md

latest2.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public SpreadsheetExtension PerformMailMerge(
    Func<byte[]> templateContentAccessorByBytes,
    DocumentFormat templateDocumentFormat,
    object mailMergeDataSource,
    string mailMergeMode
)
vb
Public Function PerformMailMerge(
    templateContentAccessorByBytes As Func(Of Byte()),
    templateDocumentFormat As DocumentFormat,
    mailMergeDataSource As Object,
    mailMergeMode As String
) As SpreadsheetExtension

Parameters

NameTypeDescription
templateContentAccessorByBytesFunc<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

TypeDescription
SpreadsheetExtension

A SpreadsheetExtension object that represents the Spreadsheet extension.

|

See Also

SpreadsheetExtension Class

SpreadsheetExtension Members

DevExpress.Web.Mvc Namespace