WidowControl Property

Applies To

Paragraph object, ParagraphFormat object, Paragraphs collection object.

Description

True if the first and last lines in the specified paragraph remain on the same page as the rest of the paragraph when Word repaginates the document. Can be True, False or wdUndefined. Read/write Long.

See Also

KeepTogether property, KeepWithNext property.

Example

This example formats the paragraphs in the active document so that the first or last line in a paragraph can appear by itself at the top or bottom of a page.

ActiveDocument.Paragraphs.WidowControl = False