bdeSetBlockImageAspectRatio

Sets the aspect ratio of image in block.

Syntax

bdeSetBlockImageAspectRatio(block, value)

Inputs

block
The block which the text icon is in.
Type: block
value
Boolean value to set the image aspect ratio. Either true or false.
Type: Boolean

Examples

Set a block's image aspect ratio:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          bdeSetBlockImageAspectRatio(block, true);