Replaces a range with text.
Namespace:
C1.Silverlight.RichTextBoxAssembly: C1.Silverlight.RichTextBox (in C1.Silverlight.RichTextBox.dll)
Syntax
C# |
---|
[ObsoleteAttribute("Use the overload without the styledRun parameter")] public static C1TextRange ReplaceText( C1TextRange range, string text, C1Run styledRun ) |
Visual Basic |
---|
<ObsoleteAttribute("Use the overload without the styledRun parameter")> _ Public Shared Function ReplaceText ( _ range As C1TextRange, _ text As String, _ styledRun As C1Run _ ) As C1TextRange |
Parameters
- text
- Type: System..::..String
A string with the text to insert.
- styledRun
- Type: C1.Silverlight.RichTextBox.Documents..::..C1Run
A pre styled C1Run to use when inserting the text. May be null.