bdeSetBlockParameterButtonImage

Sets the buttonImage for a parameter within block. Works only with parameters with the widget editor or uneditor. Works only with inline blocks. Super blocks are inlined blocks.

Syntax

bdeSetBlockParameterButtonImage(block, parameter, buttonImage)

Inputs

block
The block that the parameter is in.
Type: block
parameter
The parameter to set the button image.
Type: string
buttonImage
A string to set the button's image to.
Type: string

Examples

Set the image for a button parameter:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockParameterButtonImage(block, 'button1', 'glyphPlotSplineStrip');