RichTextBox for WinRT
ReplaceText(C1TextRange,String) Method


A C1.Xaml.RichTextBox.Documents.C1TextRange.
A string with the text to insert.
Replaces a range with text.
Syntax
'Declaration
 
Public Overloads Shared Function ReplaceText( _
   ByVal range As C1TextRange, _
   ByVal text As System.String _
) As C1TextRange
'Usage
 
Dim range As C1TextRange
Dim text As System.String
Dim value As C1TextRange
 
value = EditExtensions.ReplaceText(range, text)
public static C1TextRange ReplaceText( 
   C1TextRange range,
   System.string text
)

Parameters

range
A C1.Xaml.RichTextBox.Documents.C1TextRange.
text
A string with the text to insert.

Return Value

A range that bounds the inserted text.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EditExtensions Class
EditExtensions Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback