I am trying to iterate through paragraph runs, find if a run has italized/bold text and replace that text with something else.
Which is the best method in terms of performance.
I am trying to iterate through paragraph runs, find if a run has italized/bold text and replace that text with something else.
Which is the best method in terms of performance.
If you are interested only in inline tags, the following code can help. Just change the Convert() method to whatever you want.