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:
Fig. 01 – Correct Formatting
Fig. 02 – Incorrect Formatting. The entire expression is not formatted with the color.
Only plain text can be inserted without formatting commands. RTF text cannot be inserted. You can only assign all of its properties with the help of the DataColumn.
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.
Recent Articles
Rendering in BricsCAD
This article explains the different levels of rendering supported by BricsCAD, ranging from quick concept views to detailed design visuals. It highlights BricsCAD’s built-in rendering tools, performance strengths, and explores the various options ...
Switching to Light Mode in Toolbox BSB
Toolbox BSB, being built on BricsCAD V25 Pro, has a built-in functionality that allows for the customization of one’s CUI and interface. One such customization you may want to utilize to tailor your workspace to your tastes is switching the UI to ...
The BricsCAD Manipulator
The BricsCAD Manipulator is a 3D modeling tool that allows entities to be smoothly and swiftly moved, rotated, scaled and mirrored. By default, the Manipulator copies selected entities when using any of its functions while holding the CTRL key. ...
The QUAD
The QUAD is an AI-driven command system accessible during the process of drawing and interacting with products in model space in Toolbox BSB. The QUAD menu contains customizable sets of frequently used commands when interacting with an entity. QUAD ...
Toolbox BSB: Supported File Extensions for Import/Export
Toolbox BSB, using BricsCAD Pro as its basis, offers full support for the same wide range of file types for import and export. Certain file formats not listed in this article can be imported/exported by BricsCAD, but are not, at the time of writing, ...