This example uses the non-visual RichEditDocumentServer component to edit and format rich text content of the XRRichText control.
The report preview with the XRRichText control that displays the original RTF content is shown below:
The RichEditDocumentServer component applies default formatting, removes whitespaces at the end of the text, appends formatted text, and assigns the resulting RTF text to the XRRichText.Rtf property. The resulting report is shown in the following image:
- Form1.cs (VB: Form1.vb)
- XtraReport1.cs (VB: XtraReport1.vb)
(you will be redirected to DevExpress.com to submit your response)