The alignment of the column's header.
Usage
Set_Property(OLECtrlEntID, "OLE.ColumnHeaderAlignment[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 ColumnHeaderAlignment property determines the alignment of the column's header. It does not affect the alignment of the column's footer or data. For those, use ColumnFooterAlignment or ColumnAlignment respectively.
Example
// Center align the first column's header Set_Property(@Window:".OLE_REPORTTABLE", "OLE.ColumnHeaderAlignment[1]", "Center")