| TextStringsSetFormattedText Method |
Replaces text with formatted text.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public void SetFormattedText(
TextRange oldRange,
TextRange newRange
)
Public Sub SetFormattedText (
oldRange As TextRange,
newRange As TextRange
)
public:
void SetFormattedText(
TextRange^ oldRange,
TextRange^ newRange
)
Parameters
- oldRange
- Type: TextObjectModelTextRange
The text to be replaced. - newRange
- Type: TextObjectModelTextRange
The formatted text.
Exceptions See Also