Object Reference : Object View and Procedure Reference : Group
Set the display justification for cells in a group object spreadsheet view.
group_name.setjust(col_range) format_arg
where format_arg is a set of arguments used to specify format settings. You should enclose the format_arg in double quotes if it contains any spaces or delimiters.
The col_range option is used to describe the columns to be updated. See Group::setformat for the syntax for col_range specifications.
The format_arg may be formed using the following:
top / middle / bottom]
Vertical justification setting.
auto / left / center / right
Horizontal justification setting. “Auto” uses left justification for strings, and right for numbers.
You may enter one or both of the justification settings. The default justification settings are taken from the Global Defaults for spreadsheet views (“Spreadsheet Data Display”) at the time the spreadsheet was created.
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, while:
group2.setjust(@all) right
sets all of the series formats.
See Group::setwidth and Group::setindent for details on setting spreadsheet widths and indentation.