Alignment

The Alignment property is exclusive to images and remote images and it represents the positioning of the image within the image box that you draw when you add the image to a Mimic.

When you enter an expression to animate the Alignment property, the expression needs to define one of the following numbers:

Number for Expression Alignment

0

Stretch (the image is stretched to fill the image box).

1

Tile (the image is repeated in the image box until the available space is used).

2

Center (the center of the image is placed in the center of the image box).

For example, you could use the following expression to change the alignment of an image according to the alarm state of a point in the database:

IIF( ""<path and name of point>.AlarmState" = 4, 0, 2 )

Where <path and name of point> are the location and name of a point. Do not enter the angle brackets < >.

This means that when the point has an AlarmState of 4 (Unacknowledged Uncleared), the Alignment is 0 (Stretch). When the point has any other AlarmState, the Alignment is 2 (Center).


Disclaimer

Geo SCADA Expert 2020