ParaPageBreakBefore, ParaPageBreakBefore()

Syntax

ParaPageBreakBefore [On]

ParaPageBreakBefore()

Remarks

The ParaPageBreakBefore statement adds or removes the Page Break Before paragraph format for the selected paragraphs. A paragraph formatted with Page Break Before appears at the top of a new page whenever the document is printed.

Argument

Explanation

On

Specifies whether to add or remove the Page Break Before format:

1 Adds the Page Break Before format.

0 (zero) Removes the Page Break Before format.

Omitted Toggles the Page Break Before format.


The ParaPageBreakBefore() function returns the following values.

Value

Explanation

0 (zero)

If none of the selected paragraphs are formatted with Page Break Before

–1

If some of the selected paragraphs are formatted with Page Break Before

1

If all the selected paragraphs are formatted with Page Break Before


See Also

FormatParagraph, ParaKeepLinesTogether, ParaKeepWithNext