Online documentation, manuals and tutorials
< All Topics
Print

Bitmap (Dashboard)

Description

This Widget displays a bitmap. If we know in advance which bitmap we want to display, then it is necessary to use the Bitmap property, where the selection is called the bitmap, and if the bitmap is known only during execution because, for example, it comes from some variable, then it is necessary to use the Data property.

Properties

Specific

Data

EXPRESSION (any)

There are several options for choosing which bitmap to display:

  • If the default value is of type integer then it is the index of the bitmap to be displayed. It is necessary to use the functions Flow.getBitmapIndex({<bitmapName>}), which receives bitmapName, i.e. the name of the bitmap, and returns the index of the bitmap. In this way, we can choose or change which bitmap will be displayed in the runtime, because, for example, `bitmapName’ can come from a variable.

  • If the default value is of type string then it is assumed that the bitmap is encoded according to the Data URI Scheme rules.

  • If the default value is of type blob then the bitmap is defaulted to its binary notation (see Screen Capture example).

Bitmap

ObjectReference

The name of the bitmap to be displayed.

Visible

EXPRESSION (boolean)

If the calculated expression is true then the Widget is visible, and if it is false then the Widget is hidden. It can be left blank, in which case the Widget is always visible.

Examples

  • Dashboard Widgets Demo
  • Screen Capture
Page content