Are all element properties available?
Are all element properties available?
All properties are visible only after you select the “Advanced” option or the “All categories” filter in ⮫ “View: Properties ”.
“Element name” |
Example: TIP: Assign individual names for elements so that they are found faster in the element list. |
“Type of element” |
“Image” |
“Static ID” |
Static ID of an image from an image pool. The image pool can be part of the project or from a library. The ID can be resolved exactly if you specify the full instance path. Instance path for an image with an image pool in the project: <namespace library>.<name of image pool>.<ID image> Example: MyLib.Imagepool.background VisuSymbols.Symbols.Phone: Instance path for an image with an image pool in the VisuSymbols library The namespace for the library (namespace library) is optional. If it is missing, then an image pool will be searched for in the project. The dot in front of the image collection (.) is optional. When the dot is specified, it indicates an instance path in the project. .Imagepool.background If an image cannot be found using this method, then a substitute search is performed using the image ID. The result is the first matching image ID. In the case of ambiguous IDs, this can lead to the wrong image being displayed. This can be prevented by specifying an exact instance path. Tip Specify the full instance path to avoid conflicts: <namespace path> . <name of image pool> . <image ID> For more information, see: ⮫ Object: Image Pool |
“Show frame” |
|
“Clipping” |
Requirement: The “Scaling type” property is “Fixed”.
|
“Transparent” |
|
“Transparent color” |
Effective only if the “Transparent” option is activated. The |
“Scaling type” |
Definition of how an image fits in the element frame.
|
“Horizontal alignment” |
Horizontal alignment of the element within the element frame:
Requirement: The scaling type of the image is “Isotropic” or “Fixed”. NOTE: If the visualization is referenced, then the horizontal alignment takes effect within the frame position.
|
“Variable” |
Enumeration variable ( Example: |
“Vertical alignment” |
Vertical alignment of the element within the element frame:
Requirement: The scaling type of the image is “Isotropic” or “Fixed”. NOTE: If the visualization is referenced, then the horizontal alignment takes effect within the frame position.
|
“Variable” |
Enumeration variable ( Example: |
Example
A valid declaration is required for the variables used as an example in the table above.
Enumeration
TYPE VisuElemBase.VisuEnumHorizontalAlignment LEFT HCENTER RIGHT END_TYPE TYPE VisuElemBase.VisuEnumVerticalAlignment DOWN VCENTER BOTTOM END_TYPE
Declaration
PROGRAM PLC_PRG VAR eHorizontalAlignment : VisuElemBase.VisuEnumHorizontalAlignment := VisuElemBase.VisuEnumHorizontalAlignment.HCENTER; eVerticalAlignment : VisuElemBase.VisuEnumVerticalAlignment := VisuElemBase.VisuEnumVerticalAlignment.VCENTER; END_VAR
For more information, see: ⮫ Object: Image Pool
-
Position
-
Center
-
Colors
-
Appearance
-
Texts
-
Image ID variable
-
Text properties
-
Dynamic image
-
Absolute movement
-
Relative movement
-
Text variables
-
Dynamic texts
-
Color variables
-
Look variables
-
Font variables
-
State variables
-
Input Configuration
-
Animation
-
Access Rights