Replaces a range with text.

Namespace:  C1.Silverlight.RichTextBox
Assembly:  C1.Silverlight.RichTextBox (in C1.Silverlight.RichTextBox.dll)

Syntax

C#
public static C1TextRange ReplaceText(
	C1TextRange range,
	string text
)
Visual Basic
Public Shared Function ReplaceText ( _
	range As C1TextRange, _
	text As String _
) As C1TextRange

Parameters

range
Type: C1.Silverlight.RichTextBox.Documents..::..C1TextRange
A C1TextRange.
text
Type: System..::..String
A string with the text to insert.

Return Value

A range that bounds the inserted text.

See Also