bdeSetBlockTextIconPosition

Sets the position of text icon textIconName in block.

Syntax

bdeSetBlockTextIconPosition(block, textIconName, xPos, yPos)

Inputs

block
The block which the text icon is in.
Type: block
textIconName
The name of the text icon.
Type: string
xPos
Value to set the x position of the text icon textIconName to.
Type: double
yPos
Value to set the y position of the text icon textIconName to.
Type: double

Examples

Set a block's text icon's position:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockTextIconPosition(block, 'text2', 0.5, 0.5);