RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1InlineUIContainer Class / Split Method / Split(Int32) Method
The offset where to split, elements in positions greater or equal to the offset are added to the second element.

In This Topic
    Split(Int32) Method
    In This Topic
    Splits this C1TextElement at the specified offset into two elements of the same type with the same style properties.
    Syntax
    'Declaration
     
    
    Public Overloads Function Split( _
       ByVal offset As Integer _
    ) As C1TextPointer
    public C1TextPointer Split( 
       int offset
    )

    Parameters

    offset
    The offset where to split, elements in positions greater or equal to the offset are added to the second element.

    Return Value

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