Documents for PDF, .NET Edition Documentation
Split Method (TextLayout)

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > TextLayout Class : Split Method
Options controlling how text is split.
Output: a new TextLayout instance containing the text that did not fit into the bounds specified by the current 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.
Syntax
'Declaration
 
Public Function Split( _
   ByVal splitOptions As TextSplitOptions, _
   ByRef rest As TextLayout _
) As SplitResult
public SplitResult Split( 
   TextSplitOptions splitOptions,
   out TextLayout rest
)

Parameters

splitOptions
Options controlling how text is split.
rest
Output: a new TextLayout instance containing the text that did not fit into the bounds specified by the current TextLayout.

Return Value

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

Reference

TextLayout Class
TextLayout Members
SplitAndBalance Method
SplitRef Method
SplitAndBalanceRef Method
AlignmentDelayToSplit Property