Animation of the text display
You can configure an animation of the display of text in the property. All basic elements have this property as well as tables, scroll bars, and text fields.
Requirement: A project with a visualization is open.
Open the visualization and add a Rectangle element.
The Properties view shows the configuration of the element.
Configure the property with
Important.In the application, declare a type-compliant variable in the
PLC_PRGPOU.iFontHeight : INT;Configure the property with
PLC_PRG.iFontHeight.Implement a change in the size of the font.
iFontHeight := iFontHeight + 1) MOD 20;
Compile, download, and start the application.
The application runs. The visualization opens. The rectangle is labeled
Important. The font size increases from 1 to 20.