Icon
The icon essentially corresponds to the TcHmiImage. The only difference is extended functionalities for the icon, because the options of the icon package can be used here.
Use
Use wherever an icon is required.
Attributes
Icon
tchmi:framework#/definitions/Path
Path to the icon.
IconWidth
tchmi:general#/definitions/Number
Width of the icon.
IconWidthUnit
tchmi:general#/definitions/MeasurementUnit
Unit of the width of the icon.
IconHeight
tchmi:general#/definitions/Number
Height of the icon.
IconHeightUnit
tchmi:general#/definitions/MeasurementUnit
Unit of the height of the icon.
IconHorizontalAlignment
tchmi:general#/definitions/HorizontalAlignment
Definition of the horizontal alignment of the icon within the button.
IconVerticalAlignment
tchmi:general#/definitions/VerticalAlignment
Definition of the vertical alignment of the icon within the button.
IconRotation
tchmi:general#/definitions/Number
Determines by how many degrees the icon should be rotated.
IconRotationSpeed
tchmi:general#/definitions/Number
Determines the speed at which the icon should rotate.
IconRotationDirection
tchmi:general#/definitions/TcHmi.BuildingAutomation.Controls.Direction
Determines the direction in which the icon rotates if the attribute IconRotationSpeed is defined. The default value is clockwise.
IconOverlays
tchmi:framework#/definitions/TcHmi.BuildingAutomation.Controls.Common.Icon.OverlayList
Defines overlays of the icon.
Icon
ShowInLegend
tchmi:general#/definitions/Boolean
Specifies whether the icon is visible in the legend.
Category
tchmi:general#/definitions/String
Specifies the category of the icon in the legend.
Description
tchmi:general#/definitions/String
Specifies the description text of the icon in the legend.