Style
The Style property defines the appearance of the text within the text box. Typically, you would define the orientation on the Text Properties window, but you can animate the property if required. For example, you can animate the Style so that it changes according to the value of a point.
When animating the Style property, you will need to use the relevant number in the expression:
Number for Expression | Direction |
---|---|
0 |
Regular |
1 |
Bold |
2 |
Italic |
4 |
Underline |
8 |
Strikeout |
For combinations of styles, simply add the numbers together.
For example:
IIF( ".1 Bit Digital.CurrentState" = 1, 3, 2 )
In this expression, when the point named '1 Bit Digital' has a current state of 1, the text is bold and italic (number of bold style+number of italic style=number of bold italic style). When the point has any other alarm state, the text is italic only (Style 2).