CenterPara, CenterPara()

Syntax

CenterPara

CenterPara()

Remarks

Centers the selected paragraphs.

The CenterPara() function returns the following values.

Value

Explanation

0 (zero)

If none of the selection is centered

–1

If part of the selection is centered or there is a mix of alignments

1

If all the selection is centered


See Also

FormatParagraph, JustifyPara, LeftPara, RightPara