Compartilhar via


Paragraph.WidowControl Property

Word Developer Reference

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. Read/write Long.

Syntax

expression.WidowControl

expression   A variable that represents a Paragraph object.

Remarks

This property can be True, False or wdUndefined.

Example

This example formats the first paragraph 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.

Visual Basic for Applications
  ActiveDocument.Paragraphs(1).WidowControl = False

See Also