ODF .NET > Tutorial > Replace text with formatted text

The example shows you how to replace text with an AttributedText span, which carries its own style. The text before and after the replaced text stays in its original spans and keeps its formatting.

C# example
C# example - Replace one occurrence only
VB example

Need help? Ask our developers: