Object Reference : Object View and Procedure Reference : Group
  
 
setjust
Set the justification for cells in the spreadsheet view of the group object.
Syntax
group_name.setjust(col_range) format_arg
where format_arg may consist of the following:
 
top / middle / bottom
Vertical justification setting.
auto / left / center / right
Horizontal justification setting. Strings are left-justified and numbers are right-justified under “auto”.
The col_range option is used to specify the columns to be justified in the group. See Group::setformat for syntax.
Default display settings can be set in General Options; see “Spreadsheet Data Display”.
Examples
To set the justification, provide the column identifier and the format. The commands
group1.setjust(2) bottom center
group1.setjust(c) center middle
set the formats for the second and third series in the group GROUP1.
group2.setjust(@all) right
sets the format for all series in the group GROUP2.
Cross-references
See Group::setwidth and Group::setindent for details on setting spreadsheet widths and indentation.