Skip to content

SyncfusionExamples/Mail-Merge-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mail merge Examples

This repository contains examples that illustrates how to mail merge Word documents in C# and VB.NET using Syncfusion’s .NET Word library (Essential® DocIO) without Microsoft Word or Office interop dependencies.

Mail merge in Word documents

Mail merge is a process of merging data (replacing merge fields) from a data source into the template Word document.

The Syncfusion® Word library (Essential® DocIO) has a powerful mail merge API to generate personalized reports like letters, pre-addressed envelopes, address labels, invoice, payroll, and more. It performs mail merge faster in a batch process without Microsoft Word or Office interop dependencies. The generated reports can be saved as a Word document, PDF, image, HTML, and more.

Mail-merge-in-Word-library

Key Features

Screenshots

Envelopes for mailing

Envelopes-for-mailing in C#

Batch of personalized letters

Generate-multiple-Word-documents in C#

Barcode labels

Barcode-labels in C#

Replace merge field with HTML

Replace-Merge-field-with-HTML in C#

Fit photo within text box

Fit-photo-within-textbox in C#

Start each record on a new page

Start-each-record-on-new-page in C#

Syncfusion® .NET Word Library

The Syncfusion® DocIO is a .NET Word library allows you to add advanced Word document processing functionalities to any .NET application and does not require Microsoft Word application to be installed in the machine. It is a non-UI component that provides a full-fledged document instance model similar to the Microsoft Office COM libraries to iterate with the document elements explicitly and perform necessary manipulation.

Take a moment to peruse the documentation, where you can find basic Word document processing options along with the features like mail merge, merge, split and compare documents, find and replace text in the Word document, protect the Word documents, and most importantly, the PDF and Image conversions with code examples.

Compatible Microsoft Word Versions

  • Microsoft Word 97-2003
  • Microsoft Word 2007
  • Microsoft Word 2010
  • Microsoft Word 2013
  • Microsoft Word 2016
  • Microsoft Word 2019
  • Microsoft 365

Supported File Formats

How to run the examples

  • Download this project to a location in your disk.
  • Open the solution file using Visual Studio.
  • Rebuild the solution to install the required NuGet packages.
  • Run the application.

Resources

Support and feedback

For any other queries, reach our Syncfusion® support team or post the queries through the community forums.

Request new feature through Syncfusion® feedback portal.

License

This is a commercial product and requires a paid license for possession or use. Syncfusion's licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a licnense here or start a free 30-day trial here.