'Declaration <ObsoleteAttribute("Use the overload without the styledRun parameter")> Public Overloads Shared Function ReplaceText( _ ByVal range As C1TextRange, _ ByVal text As String, _ ByVal styledRun As C1Run _ ) As C1TextRange
[Obsolete("Use the overload without the styledRun parameter")] public static C1TextRange ReplaceText( C1TextRange range, string text, C1Run styledRun )
Parameters
- range
- A C1.Xaml.RichTextBox.Documents.C1TextRange.
- text
- A string with the text to insert.
- styledRun
- A pre styled C1.Xaml.RichTextBox.Documents.C1Run to use when inserting the text. May be null.
Return Value
A range that bounds the inserted text.