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.
Type: block
iconName
The name of the text icon to get the x position of.
Type: string

Outputs

xPos
The x position of the text icon iconName.
Type: string

Examples

Get the x position of text icon iconName within block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          xPos = bdeGetBlockTextIconXPosition(block, 'text2');
        

          
            xPos = 0.5