[]
Replaces a specified text fragment with another text.
void ReplaceText(TextMapFragment fragment, string text, Font font = null, float? fontSize = null)
| Type | Name | Description |
|---|---|---|
| TextMapFragment | fragment | The fragment to replace. |
| string | text | The replacement text. |
| Font | font | The font for the replacement text. If null, the current font will be used. |
| float? | fontSize | The font size for the replacement text. If null, the current font size will be used. |