# 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.
Type: block

## Outputs

aspectRatio
The image aspect ratio of the image in block.
Type: Boolean

## Examples

Get the image aspect ratio of the image within block:

diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
aspectRatio = bdeGetBlockImageAspectRatio(block);



aspectRatio = 1