Skip to content

DevExpress-Examples/winforms-richedit-utility-to-create-a-mail-merge-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rich Text Editor for WinForms - Utility to Create a Mail Merge Template

This example project is a utility that allows you to simplify the mail merge template creation.

image

Implementation Details

Invoke the Fields | New Merge Fields command to specify merge field names in the corresponding dialog. These names are used in code to create a fake data source and assign it to the RichEditMailMergeOptions.DataSource property. After that, the Mailings ribbon page is activated and you can use the Insert Merge Field command to insert a field in the document.

In addition, the Fields ribbon page contains commands that allow you to insert INCLUDEPICTURE and DOCVARIABLE fields and an initial field pattern in the document. You can accomplish this manually by the CTRL+F9 key press.

You can save the document by the File | Save command and load in your application later as a mail merge template.

Files to Review

Documentation

About

Create a utility that allows you to simplify the mail merge template creation.

Topics

Resources

License

Stars

Watchers

Forks