Splits this
C1TextElement at the specified offset into two elements of the same type with the same style properties.
Namespace:
C1.Phone.RichTextBox.Documents
Assembly:
C1.Phone.RichTextBox (in C1.Phone.RichTextBox.dll)
Syntax
Visual Basic |
---|
Public Function Split ( _
offset As Integer _
) As C1TextPointer |
Parameters
- offset
- Type: System..::..Int32
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.
Exceptions
Exception | Condition |
---|
System..::..InvalidOperationException | this element has no parent. |
See Also