The alignment of the column's contents.
Version Introduced: 3.0.2
Set_Property(OLECtrlEntID, "OLE.ColumnAlignment[col]", OptionValue) |
OptionValue can be set to one of the following valid options:
Value | Abbr. | Description |
---|---|---|
Left | L | Aligns contents to the left |
Center | C | Aligns contents in the center |
Right | R | Aligns contents to the right |
Default: Left
Index | Description |
---|---|
col | The index to a column in the report table |
The ColumnAlignment property determines the alignment of the data within that column. It does not affect the alignment of the column's header or footer. For those, use ColumnHeaderAlignment or ColumnFooterAlignment respectively.
// Right align the third column Set_Property(@Window:".OLE_REPORTTABLE", "OLE.ColumnAlignment[3]", "Right") |
ColumnFooterAlignment, ColumnHeaderAlignment