RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1TextPointer Class / Split Method / Split(Boolean) Method
Indicates whether the element should be split when the position is at the start or end of the element.

In This Topic
    Split(Boolean) Method
    In This Topic
    Splits this position's C1TextElement at its offset into two elements of the same type with the same style properties.
    Syntax
    'Declaration
     
    
    Public Overloads Function Split( _
       ByVal splitEdges As Boolean _
    ) As C1TextPointer
    public C1TextPointer Split( 
       bool splitEdges
    )

    Parameters

    splitEdges
    Indicates whether the element should be split when the position is at the start or end of the element.

    Return Value

    Returns the position in the parent element between this element and the new element.
    See Also