This example illustrates how to generate a product catalog by performing mail merge in the Word document with formatting the merged text using the MergeField event and update the image using MergeImageField event.
-
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.
By running this application, you will get the product catalog as follows.
To generate product catalog, design your template Word document with the required layout, formatting, graphics, and merge fields using Microsoft Word as follows.
Take a moment to peruse the documentation, where you will find other Word document processing operations along with features like mail merge, merge, and split documents, find and replace text in the Word document, protect Word documents, and most importantly PDF and image conversions with code examples.