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.
- parameter
- The parameter to set the button image.
- buttonImage
- A string to set the button's image to.
Examples
Set the image for a button parameter:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockParameterButtonImage(block, 'button1', 'glyphPlotSplineStrip');