Bewerken

Delen via


Paragraphs.KeepTogether Property

Definition

Determines if all lines in the specified paragraphs remain on the same page when Microsoft Word repaginates the document.

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

Property Value

Remarks

This property returns True if all lines in the specified paragraphs remain on the same page 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