ComponentOne RichTextBox for WPF and Silverlight
Delete Method (EditExtensions)

C1.WPF.RichTextBox Namespace > EditExtensions Class : Delete Method
A C1.WPF.RichTextBox.Documents.C1TextRange where the content is to be deleted.
Deletes elements and content in a range.
Syntax
'Declaration
 
Public Shared Function Delete( _
   ByVal range As C1TextRange, _
   Optional ByVal hasSelection As System.Boolean, _
   Optional ByVal needDeleteTable As System.Boolean _
) As C1TextPointer
public static C1TextPointer Delete( 
   C1TextRange range,
   System.bool hasSelection,
   System.bool needDeleteTable
)

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

Reference

EditExtensions Class
EditExtensions Members