bdeGetBlockTextIconYPosition

Gets the y position of the text icon iconName in block.

Syntax

yPos = 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 y position of.
Type: string

Outputs

yPos
The y position of the text icon iconName.
Type: string

Examples

Get the y position of text icon iconName within block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          yPos = bdeGetBlockTextIconYPosition(block, 'text2');
        

          
            yPos = 0.5