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:

ValueAbbr.Description
LeftLAligns contents to the left
CenterCAligns contents in the center
RightRAligns contents to the right

Default: Left

Indices

IndexDescription
colThe 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")

See Also

ColumnAlignmentColumnFooterAlignment

  • No labels