ReplaceText Method (ITextMap)
In This Topic
Replaces a specified text fragment with another text.
Syntax
'Declaration
Sub ReplaceText( _
ByVal As TextMapFragment, _
ByVal As System.String, _
Optional ByVal As Font, _
Optional ByVal As System.Nullable(Of Single) _
)
void ReplaceText(
TextMapFragment ,
System.string ,
Font ,
System.Nullable<float>
)
Parameters
- fragment
- The fragment to replace.
- text
- The replacement text.
- font
- The font for the replacement text. If a null reference (Nothing in Visual Basic), the current font will be used.
- fontSize
- The font size for the replacement text. If a null reference (Nothing in Visual Basic), the current font size will be used.
See Also