aspect_ratio = real;


Specify an image's aspect ratio.


This attribute specifies the ratio of an image's width divided by its height. A common aspect ratio is 1.33, where width = 4 and height = 3.

To create images with the correct aspect ratio, create a paperspace viewport that is 1.333 units wide and 1 unit high, and then scale up as desired. Switch to modelspace to properly center the image, using Pan and Zoom, and create a slide. Note that slide libraries are not supported.

For real, specify a real number. When real = 0.0, the image tile is expands to fit to image size. The default = (none).

Example

aspect_ratio = 0.0;

NOTE The aspect_ratio attribute is used with the height or width attribute. You do not use the aspect_ratio attribute when you use both height and width.

Valid Tiles

image

image_button

Tell me about...

Programming Overview of DCL (Dialog Control Language)

About Predefined Attributes