bdeSetBlockImageAspectRatio
Sets the aspect ratio of image in block.
Syntax
bdeSetBlockImageAspectRatio(block, value)
Inputs
- block
- The block which the text icon is in.
- value
- Boolean value to set the image aspect ratio. Either true or false.
Examples
Set a block's image aspect ratio:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
bdeSetBlockImageAspectRatio(block, true);