HAlign cell (Paragraph section)

Microsoft Office ShapeSheet

HAlign cell (Paragraph section)

See also       Rows

Determines the horizontal alignment of text in the shape's text block.

Value

Description

Automation constant

0

Left align

visHorzLeft

1

Center

visHorzCenter

2

Right align

visHorzRight

3

Justify

visHorzJustify

4

Force justify

visHorzForce

Remarks

Justify adds space between words in every line except the last line of the paragraph to align both the left and right sides of text with the margins.

Force justify justifies every line in the paragraph, including the last.

To reference the HAlign cell by name from another formula, or from a program using the Cells property, use:

Cell name:

Para.HorzAlign[i]
where i = <1>, 2, 3…

To reference the HAlign cell by index from a program, use the CellsSRC property with the following arguments:

Section index:

visSectionParagraph

Row index:

visRowParagraph + i
where i = 0, 1, 2…

Cell index:

visHorzAlign