MailMerger

MailMerger class

Provides methods intended to fill template with data using simple mail merge and mail merge with regions operations.

public class MailMerger : Processor

Methods

NameDescription
static Create(MailMergerContext)Creates new instance of the mail merger processor.
Execute()Execute the processor action.
From(Stream, LoadOptions)Specifies input document for processing.
From(string, LoadOptions)Specifies input document for processing.
To(List<Stream>, SaveFormat)Specifies output Document streams list.
To(List<Stream>, SaveOptions)Specifies output Document streams list.
To(Stream, SaveFormat)Specifies output stream for the processor.
To(Stream, SaveOptions)Specifies output stream for the processor.
To(string, SaveFormat)Specifies output file for the processor.
To(string, SaveOptions)Specifies output file for the processor.
static Execute(string, string, DataRow)Performs mail merge from a DataRow into the document.
static Execute(string, string, DataTable)Performs mail merge from a DataTable into the document.
static Execute(string, string, string[], object[])Performs a mail merge operation for a single record.
static Execute(Stream, Stream, SaveFormat, DataRow, MailMergeOptions)Performs a mail merge operation for a single record.
static Execute(Stream, Stream, SaveFormat, DataTable, MailMergeOptions)Performs a mail merge operation for a single record.
static Execute(Stream, Stream, SaveOptions, DataRow, MailMergeOptions)Performs a mail merge operation for a single record.
static Execute(Stream, Stream, SaveOptions, DataTable, MailMergeOptions)Performs a mail merge operation for a single record.
static Execute(string, string, SaveFormat, DataRow, MailMergeOptions)Performs mail merge from a DataRow into the document.
static Execute(string, string, SaveFormat, DataTable, MailMergeOptions)Performs mail merge from a DataRow into the document.
static Execute(string, string, SaveOptions, DataRow, MailMergeOptions)Performs mail merge from a DataRow into the document.
static Execute(string, string, SaveOptions, DataTable, MailMergeOptions)Performs mail merge from a DataRow into the document.
static Execute(Stream, Stream, SaveFormat, string[], object[], MailMergeOptions)Performs a mail merge operation for a single record.
static Execute(Stream, Stream, SaveOptions, string[], object[], MailMergeOptions)Performs a mail merge operation for a single record.
static Execute(string, string, SaveFormat, string[], object[], MailMergeOptions)Performs a mail merge operation for a single record.
static Execute(string, string, SaveOptions, string[], object[], MailMergeOptions)Performs a mail merge operation for a single record.
static ExecuteToImages(Stream, ImageSaveOptions, DataRow, MailMergeOptions)Performs mail merge from a DataRow into the document and renders the result to images.
static ExecuteToImages(Stream, ImageSaveOptions, DataTable, MailMergeOptions)Performs mail merge from a DataRow into the document and renders the result to images.
static ExecuteToImages(string, ImageSaveOptions, DataRow, MailMergeOptions)Performs mail merge from a DataRow into the document and renders the result to images.
static ExecuteToImages(string, ImageSaveOptions, DataTable, MailMergeOptions)Performs mail merge from a DataRow into the document and renders the result to images.
static ExecuteToImages(Stream, ImageSaveOptions, string[], object[], MailMergeOptions)Performs a mail merge operation for a single record and renders the result to images.
static ExecuteToImages(string, ImageSaveOptions, string[], object[], MailMergeOptions)Performs a mail merge operation for a single record and renders the result to images.
static ExecuteWithRegions(string, string, DataSet)Performs mail merge from a DataSet into a document with mail merge regions.
static ExecuteWithRegions(string, string, DataTable)Performs mail merge from a DataTable into the document with mail merge regions.
static ExecuteWithRegions(Stream, Stream, SaveFormat, DataSet, MailMergeOptions)Performs mail merge from a DataSet into the document with mail merge regions.
static ExecuteWithRegions(Stream, Stream, SaveFormat, DataTable, MailMergeOptions)Performs a mail merge operation for a single record.
static ExecuteWithRegions(Stream, Stream, SaveOptions, DataSet, MailMergeOptions)Performs mail merge from a DataSet into the document with mail merge regions.
static ExecuteWithRegions(Stream, Stream, SaveOptions, DataTable, MailMergeOptions)Performs a mail merge operation for a single record.
static ExecuteWithRegions(string, string, SaveFormat, DataSet, MailMergeOptions)Performs mail merge from a DataSet into the document with mail merge regions.
static ExecuteWithRegions(string, string, SaveFormat, DataTable, MailMergeOptions)Performs mail merge from a DataTable into the document with mail merge regions.
static ExecuteWithRegions(string, string, SaveOptions, DataSet, MailMergeOptions)Performs mail merge from a DataSet into the document with mail merge regions.
static ExecuteWithRegions(string, string, SaveOptions, DataTable, MailMergeOptions)Performs mail merge from a DataTable into the document with mail merge regions.
static ExecuteWithRegionsToImages(Stream, ImageSaveOptions, DataSet, MailMergeOptions)Performs mail merge from a DataSet into the document with mail merge regions and renders the result to images.
static ExecuteWithRegionsToImages(Stream, ImageSaveOptions, DataTable, MailMergeOptions)Performs mail merge from a DataTable into the document with mail merge regions and renders the result to images.
static ExecuteWithRegionsToImages(string, ImageSaveOptions, DataSet, MailMergeOptions)Performs mail merge from a DataSet into the document with mail merge regions and renders the result to images.
static ExecuteWithRegionsToImages(string, ImageSaveOptions, DataTable, MailMergeOptions)Performs mail merge from a DataTable into the document with mail merge regions and renders the result to images.

See Also