Partager via


_ParagraphFormat.KeepTogether Property

True if all lines in the specified paragraphs remain on the same page 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 KeepTogether As Integer
    Get
    Set
'Usage
Dim instance As _ParagraphFormat
Dim value As Integer

value = instance.KeepTogether

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

Property Value

Type: System.Int32

See Also

Reference

_ParagraphFormat Interface

_ParagraphFormat Members

Microsoft.Office.Interop.Word Namespace