Xceed Words for .NET v3.0 Documentation
KeepLinesTogether Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Paragraph Class : KeepLinesTogether Method
true if this Paragraph's lines must stay together on the same page, otherwise false.
Indicates if this Paragraph's lines must stay together on the same page or if they can be split over more than one page.
Syntax
'Declaration
 
Public Function KeepLinesTogether( _

   Optional ByVal keepLinesTogether As Boolean _

) As Paragraph
'Usage
 
Dim instance As Paragraph

Dim keepLinesTogether As Boolean

Dim value As Paragraph

 

value = instance.KeepLinesTogether(keepLinesTogether)
public Paragraph KeepLinesTogether( 

   bool keepLinesTogether

)

Parameters

keepLinesTogether
true if this Paragraph's lines must stay together on the same page, 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