bdeSetBlockLabelPosition

Sets the position of the label of block.

Syntax

bdeSetBlockLabelPosition(block, position)

Inputs

block
The block to change position of label.
Type: block
position
Position to place the label. Options include right, left, top, bottom.
Type: string

Examples

Set a block's label position to bottom:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockLabelPosition(block, 'bottom');
          bdeRedrawDiagram(diagram)