Component: ID component:GdiRichText
| Author | MatrixTSL |
| Version | 1.0 |
| Category | Creation |
Contents
RichText component
Detailed description
The RichText component is a primitive that can be found under the 'Creation' tab of Component Libraries. It allows nicely-formatted text to be displayed in any 2D Panel and can be used for many purposes such as documenting your project or simply adding formatted text to your project simulation.
The component does not allow in-situ editing. Instead, text in richtext format (RTF) can be copied from and pasted into this component using the "Richtext" menu when right-clicking the component when the panel is is design mode (i.e. the project is not simulating). This menu is also available when the project is simulating, but the text can only be changed if the "Read only" property of the component is set to "no".
The raw richtext data is stored as a property of the component and can be edited directly (or programmatically) if required.
Note that not all RTF features are supported (e.g. embedded images and hyperlinks).
Examples
No additional examples
Macro reference
Property reference
| Properties | |
| Colour | |
| Specifies the fill colour of the shape | |
| Data | |
| The RTF data | |
| Read only | |
| Determines if the text can be altered during simulation or in a deployed PC Developer app | |