The alignment of the column's contents.
Version Introduced: 3.0.2
Usage
Set_Property(OLECtrlEntID, "OLE.ColumnAlignment[col]", OptionValue)
Values
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
Indices
Index | Description |
---|---|
col | The index to a column in the report table |
Remarks
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.
Example
// Right align the third column Set_Property(@Window:".OLE_REPORTTABLE", "OLE.ColumnAlignment[3]", "Right")