bdeGetTextIconWithTextName

Gets the text icon using textIconName from block.

Syntax

textIcon = bdeGetTextIconWithTextName(block, textIconName)

Inputs

block
The block to get text icon from.
Type: block
textIconName
The name of the text icon to get.
Type: string

Outputs

textIcon
The text icon in block that is returned.
Type: property

Examples

Get a text icon within block from it's name:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          iconNames = bdeGetBlockTextIconNames(block);
          textIcon = bdeGetTextIconWithTextName(block, 'text1');
        

          
            textIcon = hwdcProperty