Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 3.1 KB

File metadata and controls

36 lines (24 loc) · 3.1 KB

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)