bdeSetBlockTextIconClipped

Sets the clipped flag of iconName in block. If clipped the text will only be within the text icon box. If not clipped then the text will be outside of the text icon box, if large enough.

Syntax

bdeSetBlockTextIconClipped(block, iconName, clipped)

Inputs

block
The block which the text icon is in.
Type: block
iconName
The name of the text icon.
Type: string
clipped
Boolean that represents if the text icon should be clipped or not. true for clipped, false for not clipped.
Type: Boolean

Examples

Set a block's text icon to clip the text:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockTextIconClipped(block, 'text2', true);