I am triying to add text to cells of a table, but the problem is that the text added comes in the table with two extra lineas (one before and one after), so I can't put a cell with one line of heigth.
This is my auxiliar function:
public static void FillCell(ref Table t, int r, int c, String text)
Paragraph p = t.Rows[r].Cells[c].InsertParagraph(text);
p.LineSpacingAfter = 0;
p.LineSpacingBefore = 0;
p.LineSpacing = 0;