Image

Display of a graphic.

Symbol

Menu ribbon

Start > Controls > Input/output > Graphic > Image

The "Image" control element displays a graphic depending on the value of the linked binary or numerical process variable, e.g. to indicate a status.

The image shows a different graphic depending on the variable value

Variable value

Representation

0

1

2

Functionalities

The control element supports the following functionality:

You can configure these functionalities via the properties in the Properties window when you select the control in the Designer or in the document outline.

Style

There are no system styles available for the control. You can create your own styles for the control. These styles are available for selection in the "Style" property after creation.

Structure

The control element contains a "Symbol" element that represents the graphic.

The image contains an icon

Graphic (symbol)

The control element can switch between different graphics ("Symbol" element), depending on the value of the linked variable. To define changing graphics depending on the variable value, use the "ImageList" property to create a list with elements of type "ImageState".

In addition, a static graphic can be configured which is only displayed if:

The following properties are available in the "Image" category for configuring the static graphic:

Image

Defines the graphic to be displayed. The button opens a dialogue in which you can select one of the available graphics.

ImageType

Defines the graphic type and the source of the graphic.

IconFont

Defines the graphic collection for the "Icon" graphic type.

ImageSize

Determines the display size of the graphic. The graphic is always displayed in a square (ImageSize=width=height) and scaled to the set display size. As the CSS properties "width" and "height" are used internally for the graphic, all specifications that are permitted for these CSS properties are permitted in "ImageSize", e.g. [px], [cm], [%] etc. If a number without a unit is entered as a value, this is interpreted as a specification in pixels.

Related topics: