'Declaration
Public Overloads Shared Function ReplaceText( _ ByVal range As C1TextRange, _ ByVal text As String, _ ByVal styledRun As C1Run _ ) As C1TextRange
public static C1TextRange ReplaceText( C1TextRange range, string text, C1Run styledRun )
Parameters
- range
- A C1.WPF.RichTextBox.Documents.C1TextRange.
- text
- A string with the text to insert.
- styledRun
- A pre styled C1.WPF.RichTextBox.Documents.C1Run to use when inserting the text. May be null.
Return Value
A range that bounds the inserted text.