Paragraph.WidowControl Property

Definition

Determines if the first and last lines in the specified paragraph remain on the same page as the rest of the paragraph when Microsoft Word repaginates the document.

public:
 property int WidowControl { int get(); void set(int value); };
public int WidowControl { get; set; }
member this.WidowControl : int with get, set
Public Property WidowControl As Integer

Property Value

Remarks

This property returns 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, and False if not. Set the property value to True or False to enable or disable the functionality.

Possible values are True, False and wdUndefined.

Applies to