The articles in this section of the Knowledge Base involve working with Rich Text for display in your reports. To learn more about the Rich Text editor, and how to access this section within the Report Designer, see An Introduction to the Rich Text Editor in Report Designer. The purpose of this article is to break down the different options within the Rich Text editor.
RTF text is an expression. Utilizing expressions in the RichText component is very similar to using expressions in other text components.
There is one issue to consider. Any formatting must be applied to the full code insertion and not any individual part of it.
If you want the calculated value in the TRF text to be a specific color, the color attribute must be applied to the entire expression. This means everything from the opening curly brace “{“ to the closing curly brace “}” and the braces themselves must be the specific desired color. For example:
Expressions in the RTF component can be handled in different ways using the property Full Convert Expression. Setting the property to false leads to the expression being processed quickly and consistently. When the property is set to true, processing expressions in the RTF component is more thorough. Using this method slows report rendering down, but the expressions are converted more thoroughly. This thoroughness is especially beneficial if the expression uses characters other than numbers and Latin alphabet.