bdeGetBlockTextIconColor

Gets the color of the text icon iconName in block.

Syntax

color = bdeGetBlockTextIconColor(block, iconName)

Inputs

block
The block to get the text icon iconName color of.
Type: block
iconName
The name of the text icon to get the color of.
Type: string

Outputs

color
The color of the text icon iconName.
Type: color

Examples

Get the color of text icon iconName within block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          color = bdeGetBlockTextIconColor(block, 'text2');
        

          
            color = struct [
            alpha: 255
            blue: 0
            green: 0
            red: 255
            ]