Documents for PDF, .NET Edition Documentation
SplitAndBalance Method (TextLayoutSplitter)

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > TextLayoutSplitter Class : SplitAndBalance Method
An array of additional page areas (e.g. represnting 2nd etc columns) that can be used to layout the text.
Options controlling how to split the text.
Fits all or the first portion of the current text layout into one or more layout areas (such as page columns).
Syntax
'Declaration
 
Public Function SplitAndBalance( _
   ByVal pageAreas() As PageSplitArea, _
   ByVal splitOptions As TextSplitOptions _
) As TextLayout
public TextLayout SplitAndBalance( 
   PageSplitArea[] pageAreas,
   TextSplitOptions splitOptions
)

Parameters

pageAreas
An array of additional page areas (e.g. represnting 2nd etc columns) that can be used to layout the text.
splitOptions
Options controlling how to split the text.

Return Value

The split portion (the text that fits in the specified bounds and can be rendered, along with additional areas in pageAreas), or null if there is nothing more to render.The next splitted section or null if the split operation was completed earlier.
See Also

Reference

TextLayoutSplitter Class
TextLayoutSplitter Members