Skip to main content

Text

This element is a basic text display. The graphic origin of the Text corresponds to the geometric center of the Text. This element is a one line text area, where you can change the text, font-color, font-size, CSS style and angle. To add carriage return (break line), you need to add <br> in text field. By default the whitespaces are preserved by the browser, you can change this behaviour with the CSS white-space property

This element must be used with HMI context.

Icon

Text

HMI Representation

Text on HMI

External parameters

Show/Hide all parameters
parametereditable via "Parameter" tabupdatable via a mappingdescriptionunittype
X-axis position✔️✔️Position of the element on the X-axis.pxInteger number
Y-axis position✔️✔️Position of the element on the Y-axis.pxInteger number
Visibility✔️✔️This parameter allows you to choose if you want the element to be visible or not on the scene during the execution of the scenario. If the item is part of a group, it can inherit the value of that group.-Enumeration (visible, hidden, inherit)
Angle✔️✔️Angle of rotation of the element compared to its initial position.degreeDecimal number
Text✔️✔️Text displayed on scene.-Text
Font size✔️✔️Text font size.-Integer number
Style✔️✔️CSS style of the element. You can change here parameters of the elements that are not already present in other fields. Choose a preset definition.-CSS
Color✔️✔️Color of the element. This parameter can be edited.-Hexadecimal
Alignment✔️✔️This parameter allows you to choose the alignment of your text object-Enumeration (Left align, Center align, Right align)
Font style✔️✔️Style of the font.-Enumeration (Regular, Italic, Bold, Bold Italic)
Width✔️✔️Length of the element on the X-axis.pxInteger number
Height✔️✔️Width of the element on the Y-axis.pxInteger number
Width management✔️This parameters allows you to choose manual or auto width adjustment.-Enumeration (Manual, Auto)
Height management✔️This parameters allows you to choose manual or auto height adjustment.-Enumeration (Manual, Auto)

Triggered behaviours

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all triggered behaviours

Destroy

At the reception of the flow, the element is destroy.

No parameters for this triggered behaviour.

Clear text

At the reception of the flow, the value of text displayed on scene is cleared.

No parameters for this triggered behaviour

Concatenate text

At the reception of the flow, the value of text displayed on scene is concatenated with a new sentence.

parametersdescriptionunittype
TextText to concatenate-Text

Add new line

At the reception of the flow, a new sentence is added after a carriage return.

parametersdescriptionunittype
TextText to add-Text

Display flow name

At the reception of the flow, flow name is displayed on scene, as defined in the imported css file.

Display flow parameters signature

At the reception of the flow, parameters' flow names are displayed on scene, as defined in the imported css file.

Display flow parameters value

At the reception of the flow, parameters' flow values are displayed on scene, as defined in the model.

Events

See Triggered behaviours and events page for more explanation: Triggered behaviours and events.

Show/Hide all events
eventdescription
On Parameter Value ChangedThe element can send information to the model when the value of the selected parameter has changed
At initializationThe text can send information to the model once at initialization
ContinuallyThe text can send information to the model continuously