bdeAddBlockTextIcon

Adds a text icon to the block.

Syntax

bdeAddBlockTextIcon(block, textname)

Inputs

block
The block to add text icon to.
Type: block
textname
The name of the text icon.
Type: string

Examples

Add a text icon to a block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeAddBlockTextIcon(block, 'text2');