bdeGetBlockImageAspectRatio
Gets the image aspect ratio of the image icon in block.
Syntax
aspectRatio = bdeGetBlockImageAspectRatio(block)
Inputs
- block
- The block to get the image aspect ratio from.
Outputs
- aspectRatio
- The image aspect ratio of the image in block.
Examples
Get the image aspect ratio of the image within block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
aspectRatio = bdeGetBlockImageAspectRatio(block);
aspectRatio = 1