bdeGetBlockBackgroundColor

Gets the background color of the given block.

Syntax

backgroundColor = bdeGetBlockBackgroundColor(block)

Inputs

block
The block to get the background color of.
Type: block

Outputs

backgroundColor
The color of the background of block.
Type: color

Examples

Get a block's background color:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          backgroundColor = bdeGetBlockBackgroundColor(block);
        

          
            backgroundColor = struct [
            alpha: 255
            blue: 0
            green: 192
            red: 255
            ]