HorizontalAlignment (Property)

Applies To:

CellFormat object, TableFacts object

Description:

Returns or sets the horizontal alignment of text in a table column. This property corresponds to the features on the Alignment Properties dialog box.

Action:

Read-write, BqHorizontalAlignment

Constants:

The HorizontalAlignment property uses the BqHorizontalAlignment constant group, which consists of these values:

Example:

This example shows how to align left the horizontal text in the Unit Sales column:

ActiveDocument.Sections["Report"].Body.Tables["Table"].Facts["Unit Sales"].HorizontalAlignment=bqAlignLeft