bdeGetBlockImageIconPath

Gets the image path of the icon in block.

Syntax

imagePath = bdeGetBlockImageIconPath(block)

Inputs

block
The block to get the image path from.
Type: block

Outputs

imagePath
The image path of the image in block.
Type: string

Examples

Get the image path of the image within block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          imagePath = bdeGetBlockImageIconPath(block);
        

          
            imagePath = C:\Users\user\Desktop\TestPic.jpg