Shape Fill Color

The color used to fill a shape can be configured in Designer, then later changed during Runtime using Workflows. This can be used to convey information visually to a Runtime operator. Shapes which can have this property changed are the: Rectangle, Ellipse, Polyline, and Label.

Setting Fill Color in the Properties Grid

  1. In Project Explorer, select the Map or Display Layout containing the shape.
  2. Select the shape to update the Fill Color on.
  3. In the Properties grid, open the color picker for the Fill Color and select the color to be used.

Change Fill Color for a Single Shape Using Workflows

To change the Fill Color property of a shape, you will first require an Action block in your Workflow. Drag and drop one into the work area if required.

  1. Double-click the Action block to open the Action Browser.
  2. Navigate to the Map or Display Layout containing the shape.
  3. Expand the Map or Display Layout and select the shape.
  4. In the Commands pane, select Set Fill Color.
  5. In the Expression pane, select Color to open the color picker.
  6. Select the color to be used, then click OK.
  7. Click OK again to set the command on the Action block.

Change Fill Color for Multiple Shapes Using Workflows

To change the Fill Color property of a shape, you will first require an Action block in your Workflow. Drag and drop one into the work area if required.

  1. Double-click the Action block to open the Action Browser.
  2. In the Objects pane, select Display Layout.
  3. In the Commands pane, select Set Drawing Objects Fill Color.
  4. In the Expression pane, select Color to open the color picker.
  5. Select the color to be used, then click OK.
  6. In the Expression pane, select Shape IDs to choose the shapes being affected.
    1. For each shape, select it then click the > button, or click >> to select all shapes.
    2. Click OK.
  7. Click OK again to set the command on the Action block.