Chapter Contents

Previous

Next
Frame Class: _snugFit

Frame Class: _snugFit



Resizes the window to fit around the objects it contains


Syntax
Details

Syntax

objectName._snugFit( n1 );
objectName._snugFit( clearance, units );

Argument Type Use Description
n1 Numeric Update
clearance Numeric Input specifies the amount of space to leave between the window and the objects it contains
units Character Input specifies the units to convert for clearance: CHARACTERS, INCHES, CM, MM, FONTS, or PIXELS (default)


Details

The units are honored when the new size of the frame is computed, but when the frame is resized, the snug fit size is rounded to row and column values. Only the right and bottom borders of the window are resized. The top and left borders are unchanged. That is, the number of rows and columns in the window change but the starting row and column of the window do not change. For more information on units, see the _new method in the Class class.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.