Why change Font by fill Table?

Jun 4, 2013 at 8:35 AM
Edited Jun 4, 2013 at 8:36 AM

i am filling a table in a .docx document.

There are Placeholder in this table which have to be replaced by valid data.
The problem is that, after filling the table the font changes (Arial into Times New Roman).

Why does he not keep the font?

Is there somebody who can help me?

The Code for replace
public void SetTextInCell(Cell cell, string text)
     cell.Paragraphs.ForEach(paragraph => paragraph.Remove(false);