Share via


_ParagraphFormat.KeepWithNext Property

True if the specified paragraph remains on the same page as the paragraph that follows it when Microsoft Word repaginates the document. Can be True, False, or wdUndefined.

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 _ParagraphFormat
Dim value As Integer

value = instance.KeepWithNext

instance.KeepWithNext = value
int KeepWithNext { get; set; }

Property Value

Type: System.Int32

See Also

Reference

_ParagraphFormat Interface

_ParagraphFormat Members

Microsoft.Office.Interop.Word Namespace