• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Mode Selection
Theme Selection
*Translated by Google Translator.
Essential Studio
All Controls

Example of Mail Merge Event in ASP.NET Core Word (DocIO) Library

This sample demonstrates how to format the Mail merged data using Mail merge events of Essential Word (DocIO) library.
Click the button to view the generated Word document. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document.
Save As :    
DocIO provides event support for text and image merge fields. With these events, you can format the text and the image merged in the Word document during mail merge.  
  • Using event support, you can generate report with each record in new page by inserting page break.
  • You can perform mail merge for a group of merge fields by defining group start and end fields in the template document.
More information about the Mail merge event can be found in this documentation section.