Skip to content

Handle the CalculateDocumentVariable event to insert formatted content in the DOCVARIABLE field.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-richedit-use-calculatedocumentvariable-event-to-insert-formatted-content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rich Text Editor for WinForms - Handle the CalculateDocumentVariable Event to Insert Formatted Content

This example illustrates how to use the Document.CalculateDocumentVariable event to insert formatted content. The DOCVARIABLE has a parameter specified by the MERGEFIELD field and looks as follows:

{ DOCVARIABLE DetailInfo "{ MERGEFIELD DetailId }" }

The formatted content is loaded into a non-visual RichEditDocumentServer component, which in turn is assigned to the e.Value parameter of a CalculateDocumentVariable event handler.

Files to Review

More Examples

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Handle the CalculateDocumentVariable event to insert formatted content in the DOCVARIABLE field.

Topics

Resources

License

Stars

Watchers

Forks

Languages