Xceed Words for .NET v3.0 Documentation
KeepWithNextParagraph Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Paragraph Class : KeepWithNextParagraph Method
true if this Paragraph must stay on the same page as the next Paragraph, otherwise false.
Indicates if this Paragraph must stay on the same page as the next Paragraph.
Syntax
'Declaration
 
Public Function KeepWithNextParagraph( _

   Optional ByVal keepWithNextParagraph As Boolean _

) As Paragraph
'Usage
 
Dim instance As Paragraph

Dim keepWithNextParagraph As Boolean

Dim value As Paragraph

 

value = instance.KeepWithNextParagraph(keepWithNextParagraph)
public Paragraph KeepWithNextParagraph( 

   bool keepWithNextParagraph

)

Parameters

keepWithNextParagraph
true if this Paragraph must stay on the same page as the next Paragraph, otherwise false.

Return Value

The modified Paragraph.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Paragraph Class
Paragraph Members