編輯

共用方式為


Paragraph.KeepWithNext Property

Definition

Determines if the specified paragraph remains on the same page as the paragraph that follows it when Microsoft Word repaginates the document.

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

Property Value

Remarks

This property returns True if the specified paragraph remains on the same page as the paragraph that follows it 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, or wdUndefined.

Applies to