ContentRangeReplace Method (String, String, CharacterFormat) |
Replaces all occurrences of the specified text with another text in the current
ContentRange.
Namespace:
GemBox.Document
Assembly:
GemBox.Document (in GemBox.Document.dll) Version: 31.0.35.1089
Syntaxpublic void Replace(
string oldValue,
string newValue,
CharacterFormat format
)
Public Sub Replace (
oldValue As String,
newValue As String,
format As CharacterFormat
)
Parameters
- oldValue
- Type: SystemString
The text which should be searched for. - newValue
- Type: SystemString
The text which should replace all occurrences of searched text. - format
- Type: GemBox.DocumentCharacterFormat
The formatting of the replacement text.
Remarks
See Also