[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.EditExtensions.Delete

Delete Method

Delete(C1TextRange, bool, bool)

Deletes elements and content in a range.

Declaration
public static C1TextPointer Delete(this C1TextRange range, bool hasSelection = true, bool needDeleteTable = false)
Public Shared Function Delete(range As C1TextRange, Optional hasSelection As Boolean = True, Optional needDeleteTable As Boolean = False) As C1TextPointer
Parameters
Type Name Description
C1TextRange range

A C1TextRange where the content is to be deleted.

bool hasSelection
bool needDeleteTable
Returns
Type Description
C1TextPointer

A position before the deleted range,