Word .NET > Tutorial > Replace text with formatted Run

The following example shows you how to replace text with a formatted Run. Unlike the simple text Replace method, this allows you to apply formatting such as bold, italic, color, and font size to the replacement text.

C# example
C# example - Replace with multiple Runs
VB example

Need help? Ask our developers: