The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

Document.MailMerge Method

Name Parameters Description
MailMerge(Document) targetDocument

Merges the current document and sends the result to the specified Document.

MailMerge(MailMergeOptions, Document) options, targetDocument

Merges the current document using the specified options, and sends the result to the specified Document.

MailMerge(MailMergeOptions, Stream, DocumentFormat) options, stream, format

Merges the current document using the specified options and sends the result to the specified stream in a specified format.

MailMerge(MailMergeOptions, String, DocumentFormat) options, fileName, format

Merges the current document using the specified options and sends the result to the specified file in a specified format.

MailMerge(Stream, DocumentFormat) stream, format

Merges the current document and sends the result to the specified stream in a specified format.

MailMerge(String, DocumentFormat) fileName, format

Merges the current document and sends the result to the specified file in a specified format.