You are here: Core Reference > Mimics > Animations > Orientation

Orientation

The Orientation property defines the direction 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 Orientation so that it changes according to the value of a point.

When animating the Orientation property, you will need to use the relevant number in the expression:

Number for Expression Direction

0

Left to Right

1

Top to Bottom

2

Bottom to Top

For example:

IIF( ".1 Bit Digital.AlarmState" = 4, 1, 0 )

In this expression, when the point named '1 Bit Digital' has an alarm state of 4 (unacknowledged uncleared alarm), the text is centered (HorzAlignment 1). When the point has any other alarm state, the text is left aligned (HorzAlignment 0).


ClearSCADA 2015 R2