Download project

Button Visu Style Example

This example shows how to set the text position of buttons with embedded images via visualization styles.

More information

The text position of buttons can be changed via the visualization style Style15.visustyle.xml (see Style.zip).

The positions are defined by the parameters:

<Value name="Button-Absolut-TextOffset-Left" type="DINT">40</Value>

<Value name="Button-Absolut-TextOffset-Right" type="DINT">0</Value>

<Value name="Button-Absolut-TextOffset-Top" type="DINT">40</Value>

<Value name="Button-Absolut-TextOffset-Bottom" type="DINT">0</Value>

System requirements and restrictions

System requirements and restrictions Info
Programming System CODESYS Development System Version or higher
Runtime System CODESYS Control Version
Required Accessories -

Screenshot thumbnail
Screenshot of Visualization