orientation

Generic Function

Package: common-graphics

Arguments: standard-object

Returns the value of the orientation property of the argument. This property applies to trackbar and up-down controls that can be placed vertically or horizontally, and to a printer, indicating the orientation of the image on the paper. The possible values for trackbar and up-down controls are :horizontal and :vertical.

This property is not setfable. For a printer stream, it must be specified as the value of the :orientation initarg to open-stream when creating a printer stream (or by letting the end user specify it on the print job dialog that is invoked by default at that time). For trackbars and up-down-controls, the value must instead be specified with the inspector when designing a control (using a form) or with the :orientation initarg of make-instance. (It can be changed using the inspector when designing a form but not for a running control, either in the IDE or in an application.)

The possible values for a printer stream are :portrait and :landscape, where :portrait is taller than it is wide, and :landscape

orientation is a property of the up-down-control, trackbar, and printer classes.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.