StyleGrid REALbasic Plugin |

# StyleGridColumn.Alignment Property

Use the Alignment property to set or get the default alignment for the given column.

Alignment as Integer {Read and Write}

#### Remarks

Accepted values:
0: Left Alignment
1: Centered
-1: Right Alignment
10: Left Align and truncate if needed
If you have TypeLib and REALbasic 5.5 or later then those constants can be assigned in REALbasic by using the following constants:
ColumnAlignment.Left
ColumnAlignment.Center
ColumnAlignment.Right
ColumnAlignment.Truncate
ColumnAlignment.InheritFromColumn
Note
Each platform may handle truncate in their own way, linux for example is not very smart at truncating.

#### See Also

StyleGridColumn Class