Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

HAlign Cell (Paragraph Section)

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 get a reference to the HAlign cell by name from another formula, or from a program using the CellsU property, use:

Cell name:

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

To get a reference to 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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.