| Did you know ... | Search Documentation: |
| Instance variables |
<-columns
equals @on.
When present it should be a vector with the same number of elements as format<-width.
Each element is one of the names left, center
or right and determines the placement of the
graphical objects
in their cell. If format<-direction
= vertical left and
right should actually be read as top and bottom
The following creates a three column table with the first column aligned to the left, the middle centered and the last to the right:
?- new(D, device),
new(F, format(horizontal, 3, @on)),
send(F, adjustment, vector(left, center, right)),
send(D, format, F),
% fill the table.
send_list(D, display,
[ '1.1', '1.2', '1.3',
'2.1'
]).
See also format->column_sep
and format->row_sep.
<-columns
= @off this is
the distance between words of the paragraph. The default is
10 pixels. See also format->row_sep.<-columns
equals @off
the words are printed as the english do. vertical
prints as the chinese do.
If format<-columns
= @on, horizontal
produces vertical columns.
<-direction
= vertical this is the distance between columns. The default is 10
pixels.
See also format<->column_sep
and format<->adjustment.