bdeGetBlockTextIconXPosition
Gets the x position of the text icon iconName in block.
Syntax
xPos = bdeGetBlockTextIconXPosition(block, iconName)
Inputs
- block
- The block that the text icon iconName is in.
- iconName
- The name of the text icon to get the x position of.
Outputs
- xPos
- The x position of the text icon iconName.
Examples
Get the x position of text icon iconName within block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
xPos = bdeGetBlockTextIconXPosition(block, 'text2');
xPos = 0.5