Documents for Imaging .NET Edition
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.

In This Topic
    Split Method (TextLayout)
    In This Topic
    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