| Prev | Next | Start of Chapter | Next Chapter | Contents | Glossary | Index | Comments | (48 out of 48)

x-resolution and y-resolution

Specifies the horizontal (x-axis) and vertical (y-axis) resolution of the monitor on which a G2's window appears.

Platforms

All platforms

Syntax

	-x-res[olution] dots-per-inch 
and
-y-res[olution] dots-per-inch
dots-per-inch: An integer in the range 36 to 200.

Equivalent Environment Variable

None

Description

For a display device that supports distinct settings for its horizontal and vertical resolution, you can use the -x-resolution and -y-resolution options to specify separate default horizontal and vertical resolutions.

These options specify the resolution as the number of dots per inch (dpi). By default, G2 displays a window at a default resolution of 75 dpi.

By specifying different combinations of -x-resolution and -y-resolution settings, you can display workspaces on a G2's window at an effectively equivalent absolute size on different display devices.

For more on the -resolution, -x-resolution, and -y-resolution options, see Specifying the Resolution and Magnification.

Special Considerations

Alternatively, you can use the -resolution option to specify the same setting for both the horizontal and vertical axes. However, don't combine the -resolution option with either the -x-resolution or -y-resolution options.

Example

This command line starts a G2 process that displays its window at a horizontal resolution of 150 dpi, and a vertical resolution of 175 dpi:

| Prev | Next | Start of Chapter | Next Chapter | Contents | Glossary | Index | Comments | (48 out of 48)

Copyright © 1997 Gensym Corporation, Inc.