[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TextLayoutSplitter.SplitAndBalance

SplitAndBalance Method

SplitAndBalance(PageSplitArea[], TextSplitOptions)

Fits all or the first portion of the current text layout into one or more layout areas (such as page columns).

Declaration
public TextLayout SplitAndBalance(PageSplitArea[] pageAreas, TextSplitOptions splitOptions)
Public Function SplitAndBalance(pageAreas As PageSplitArea(), splitOptions As TextSplitOptions) As TextLayout
Parameters
Type Name Description
PageSplitArea[] pageAreas

An array of additional page areas (e.g. representing 2nd etc columns) that can be used to layout the text.

TextSplitOptions splitOptions

Options controlling how to split the text.

Returns
Type Description
TextLayout

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.