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:

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

See Also

ColumnFooterAlignmentColumnHeaderAlignment

  • No labels