0

I am creating a Word file using OpenXml SDK in C#. Everything is working fine. I have a paragraph in which i want to make some text bold, some text underline and some without bold. But i have no idea how can i do this. I want like below:

The total amount of Bank DHL is 25012 according to result.

Umer Waheed
  • 4,044
  • 7
  • 41
  • 62
  • Possible duplicate of [Underlining and bolding text](https://stackoverflow.com/questions/13828984/underlining-and-bolding-text) – Avi Meltser May 19 '19 at 14:37
  • No. This is something else. I know how to make bold and underline. But i an asking how to make some words underline and some bold. – Umer Waheed May 19 '19 at 14:40
  • 1
    @Umer, what's not working? please include your code in the question. – derloopkat May 19 '19 at 14:41
  • I don't understand what you mean. You are basically saying the same thing and contrast it the next line. You should fix your explanation of the problem because that is not what you described – Avi Meltser May 19 '19 at 14:41
  • @AviMeltser How can i make some specific text as bold in a paragraph? – Umer Waheed May 19 '19 at 14:44
  • @Umer Isn't it just adding a new `Run` object? See https://stackoverflow.com/questions/39853019/how-to-make-some-text-bold-in-cell-using-openxml – Progman May 19 '19 at 14:51

0 Answers0