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/PathPath to the icon.
IconWidth
tchmi:general#/definitions/NumberWidth of the icon.
IconWidthUnit
tchmi:general#/definitions/MeasurementUnitUnit of the width of the icon.
IconHeight
tchmi:general#/definitions/NumberHeight of the icon.
IconHeightUnit
tchmi:general#/definitions/MeasurementUnitUnit of the height of the icon.
IconHorizontalAlignment
tchmi:general#/definitions/HorizontalAlignmentDefinition of the horizontal alignment of the icon within the button.
IconVerticalAlignment
tchmi:general#/definitions/VerticalAlignmentDefinition of the vertical alignment of the icon within the button.
IconRotation
tchmi:general#/definitions/NumberDetermines by how many degrees the icon should be rotated.
IconRotationSpeed
tchmi:general#/definitions/NumberDetermines the speed at which the icon should rotate.
IconRotationDirection
tchmi:general#/definitions/TcHmi.BuildingAutomation.Controls.DirectionDetermines 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.OverlayListDefines overlays of the icon.
Icon
ShowInLegend
tchmi:general#/definitions/BooleanSpecifies whether the icon is visible in the legend.
Category
tchmi:general#/definitions/StringSpecifies the category of the icon in the legend.
Description
tchmi:general#/definitions/StringSpecifies the description text of the icon in the legend.