Label Text Color

The text color on a label drawing object can be configured in Designer, then changed later in Runtime using Workflows. This can be changed to provide visual information to a user. For example, it may change depending on the importance of the message currently displayed.

Setting the Text Color on the Properties Grid

  1. In Designer, navigate to the Map or Display Layout containing the label.
  2. Select the label.
  3. In the Properties, expand the Text Properties and select Text Color to open the color picker.
    1. Choose the color to be used for the text.
    2. Click OK.

Change Text Color for a Label Using Workflows

To change the Text Color property of a label object, 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 object, then select it.
  3. In the Commands pane, select Set Text Color.
  4. In the Expression pane, select Text Color to open the color picker.
    1. Choose the color to be used for the text.
    2. Click OK.
  5. Click OK again to set the command on the Action block.

Change Text Color for Multiple Labels Using Workflows

To change the Text Color property of labels, 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 Text Color.
  4. In the Expression pane, select Color.
  5. In the color picker, select the color to be used for the text. Click OK.
  6. In the Expression pane, select Shape IDs to choose which labels this applies to.
    1. For each label, select it then click the > button, or click >> to select all labels.
    2. Click OK.
  7. Click OK again to set the command on the Action block.