Cell property of Grid object
Each cell element is an integer scalar
Determines how the text is
aligned within the cell.
The value is the sum of two numbers. The horizontal
alignment is 1 for left, 2 for right, or for 4 center. The vertical alignment is 8 for top, 16 for bottom, or 32 for center.
The default
value depends on the type of the cell. Header cells default to centered in both directions (4 + 32 = 36). Text cells in the data area default to top,
left (1 + 8 = 9). Numeric cells default to top, right (2 + 8 = 10).