We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback


Trusted by the world’s leading companies

Overview

Mail merge is the process of merging data from a data source into a Word template document. The Syncfusion .NET MAUI Word Library (Essential DocIO) allows you to generate reports, like invoice or payroll, by performing mail merge faster in a batch process without Microsoft Office or interop dependencies. The generated reports can be saved as a Word document, PDF, HTML, and more.


Key Features

Fast and Reliable

Generate complex and reliable reports by performing mail merge faster in a batch process compared to Office automation libraries.

Platform-Independent

Word Library is a non-UI component that allows you to write C# code for performing mail merge once and reuse it in .NET Framework, .NET Core, .NET MAUI, and Xamarin platforms.

Create or Design Template

Easily create a Word template document with merge fields through the intuitive document object model (API). Or design a Word template using Microsoft Word to mail merge with data using Syncfusion .NET MAUI Word Library.

Multiple File Formats

Save the merged document in multiple file formats like Word documents, HTML, RTF, TXT, ODT, and PDF.

Merge Template with Data

Open the Word template document and populate the merge fields with data from a data source with a few lines of code.

Email Merged Documents

Email the merged documents as an attachment by saving it as a Word document or PDF or inline by saving as HTML.


Different Ways of Mail Merging

Perform mail merge in several ways: for a whole document, a section of a document, and sections with hierarchical data.

Simple Mail Merge

Perform mail merge by repeating the entire document automatically for every record in the data source. Multiple documents can also be created from a Word template.

Group Mail Merge

Perform mail merge by repeating a section of the document automatically for every record in the data source.

Nested Mail Merge

Generate complex reports by repeating nested regions of a document with relational (hierarchical) data. Also, use custom join statements to relate one table with another.


Data Sources

Populate the template Word document with data from all the common data sources of the .NET Framework, such as ADO.NET objects, string arrays, IEnumerable collections, dynamic objects, and XML.


Mail Merge Customization

Customize the merged document with several options during the mail merge process.

Format Merged Data

Format the merged text, numeric values, and date-times automatically with the help of field switches.

Text Merge Event

Edit or format the merged text, numerals, and date-times with merge events. Also, apply page layout for the merged documents by inserting breaks.

Merge Image

When the prefix “image:” is added to the merge field name, it places the image in the merge field.

Image Merge Event

Customize image data and load dynamic images through image merge events.

Mapping Fields

Automatically map the merge field names with column names in the data source. Add custom mapping to the merge if the field name differs between the template and data sources.

Retrieve Merge Fields

Retrieve the merge field names and group names from a template document.

Remove Unmerged Fields

Remove the empty paragraphs, empty groups, and merge fields that are not merged during mail merge.



Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Scroll up icon