Help Center

ColAlignmentproperty

Returns or sets the alignment of data in a column. This can be a standard column, a column within a band, or a column within a header.

Windowspropertydoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

PROPERTY ColAlignment (BYVAL Index AS LONG) AS SHORT
PROPERTY ColAlignment (BYVAL Index AS LONG, BYVAL nAlignment AS SHORT)

Parameters

NameDescription
IndexThe number of the column.
nAlignmentAn integer or constant that specifies the alignment of data in a column.

Description

Returns or sets the alignment of data in a column.

Remarks

Any column can have an alignment that is different from other columns. The ColAlignment property affects all cells in the specified column, including those in fixed rows.

Reference