RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / EditExtensions Class / Delete Method
A C1.WPF.RichTextBox.Documents.C1TextRange where the content is to be deleted.

In This Topic
    Delete Method (EditExtensions)
    In This Topic
    Deletes elements and content in a range.
    Syntax
    'Declaration
     
    
    Public Shared Function Delete( _
       ByVal range As C1TextRange, _
       Optional ByVal hasSelection As Boolean, _
       Optional ByVal needDeleteTable As Boolean _
    ) As C1TextPointer

    Parameters

    range
    A C1.WPF.RichTextBox.Documents.C1TextRange where the content is to be deleted.
    hasSelection
    needDeleteTable

    Return Value

    A position before the deleted range,
    See Also