Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if the specified paragraph remains on the same page as the paragraph that follows it when Microsoft Word repaginates the document.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property KeepWithNext As Integer
Get
Set
'Usage
Dim instance As Paragraph
Dim value As Integer
value = instance.KeepWithNext
instance.KeepWithNext = value
int KeepWithNext { get; set; }
Property Value
Type: System.Int32
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.