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.
- textIconName
- The name of the text icon.
- xPos
- Value to set the x position of the text icon textIconName to.
- yPos
- Value to set the y position of the text icon textIconName to.
Examples
Set a block's text icon's position:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockTextIconPosition(block, 'text2', 0.5, 0.5);