Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Apple Guide Complete / Part 4 - Scripting Guide Files
Chapter 10 - Guide Script Command Reference / Guide Script Command Descriptions
/ Specifying Default Settings


<Max Height>

You can use the <Max Height> command to specify the maximum allowable panel height.

<Max Height> height
height
A short integer specifying the maximum panel height in pixels.
DESCRIPTION
Apple Guide automatically sizes each panel to a height that is within the range specified by the <Max Height> and <Min Height> commands. If you omit the <Max Height> command, Apple Guide uses a default maximum panel height of 250 pixels.

If the contents of a panel exceeds the maximum specified by the <Max Height> command or exceeds the default maximum, Apple Guide splits the panel into multiple panels to accommodate all the panel objects.

To specify a fixed panel size for all panels in the guide file regardless of content, set the maximum height and minimum height to the same value.

SPECIAL CONSIDERATIONS
The <Max Height> command should appear only once in your source files.

EXAMPLES
#set the maximum height allowed to 350 pixels
<Max Height> 350

#set all panels to a fixed height of 300 pixels
<Max Height> 300
<Min Height> 300
SEE ALSO
The <Min Height> command is described next.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 JUL 1996