bdeSetBlockTextIconValue

Sets the value of text icon name to the block.

Syntax

bdeSetBlockTextIconValue(block, name, textValue)

Inputs

block
The block of which a text icon value will be set.
Type: block
name
The name of the text icon.
Type: string
textValue
The string to set the text icon name to.
Type: string

Examples

Set a text icon's value within block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockTextIconValue(block, 'text2', 'testText');