bdeIsBlockTextIconRotationEnabled

Returns whether or not the block has text icon rotation enabled.

Syntax

rotationEnabled = bdeIsBlockTextIconRotationEnabled(block, textIconName)

Inputs

block
The block that the text icon is in.
Type: block
textIconName
The name of the text icon to check if rotation is enabled.
Type: string

Outputs

rotationEnabled
Boolean which represents whether or not the text icon textIconName has rotation enabled. 1 if it is enabled and 0 if not enabled.
Type: Boolean

Examples

Check to see if text icon has rotation enabled:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          rotationEnabled = bdeIsBlockTextIconRotationEnabled(block, textIconName);
        

          
            rotaionEnabled = 1