.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

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.