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 reference the HAlign cell by name from another formula, or from a program using the Cells property, use:
Cell name: |
Para.HorzAlign[i] |
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 |
Cell index: |
visHorzAlign |