[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TextLayout.Split

Split Method

Split(TextSplitOptions, out TextLayout)

Fits all or the first portion of the current text layout into the current layout bounds. If the whole text did not fit into the bounds, the rest is moved into a new TextLayout instance specified by the output parameter rest.

Declaration
public SplitResult Split(TextSplitOptions splitOptions, out TextLayout rest)
Public Function Split(splitOptions As TextSplitOptions, ByRef rest As TextLayout) As SplitResult
Parameters
Type Name Description
TextSplitOptions splitOptions

Options controlling how text is split.

TextLayout rest

Output: a new TextLayout instance containing the text that did not fit into the bounds specified by the current TextLayout.

Returns
Type Description
SplitResult

A value indicating the result of splitting the current text layout.

See Also