The "Rich Text" object
This object displays the formatted text (in the RTF format). It looks like this:
Try to use the "Text" object to display a text. When you export the report to some document formats, the "Rich Text" object will be exported as a picture.
This object supports only the solid fill type. Gradient, hatch, glass fills are not supported.
To edit the object, double click on it. You will see the editor window:
You can also use the Microsoft Word to create a text. When you have done, save the text in the .RTF format. Next, you need to open the "Rich Text" editor and load the .RTF file into it by pressing the button.
The "Rich Text" object does not support all of the Microsoft Word formatting features.
You can display a data in this object the following ways:
- you can insert an expression in the object's text, just as you do this in the "Text" object. Insert the necessary data column into the text;
- use the
DataColumn
property to bind the object to the column.
The object has the following properties:
Property | Description |
---|---|
AllowExpressions | This property allows to turn on or off the expression handling. It is on by default. |
Brackets | This property contains a pair of symbols that designate an expression. |
DataColumn | The data column that this object is bound to. |
Text | This property contains the RTF text. |
Padding | The padding, in pixels. |