[]
Replaces a range with text.
[Obsolete("Use the overload without the styledRun parameter")]
public static C1TextRange ReplaceText(C1TextRange range, string text, C1Run styledRun)
| Type | Name | Description |
|---|---|---|
| C1TextRange | range | A C1TextRange. |
| string | text | A string with the text to insert. |
| C1Run | styledRun | A pre styled C1Run to use when inserting the text. May be null. |
| Type | Description |
|---|---|
| C1TextRange | A range that bounds the inserted text. |
Replaces a range with text.
public static C1TextRange ReplaceText(C1TextRange range, string text)
| Type | Name | Description |
|---|---|---|
| C1TextRange | range | A C1TextRange. |
| string | text | A string with the text to insert. |
| Type | Description |
|---|---|
| C1TextRange | A range that bounds the inserted text. |