Table cell text alignment


Iam currently trying to align some text in a table cell but cant seem to find a property that effects the vertical alignment. I have managed to used:

tableBuilder.ParagraphFormat.Alignment = ParagraphAlignment.Center

To align the text on the horzontallt with in the table cell but I can find a property to align it vertically.

Any ideas?


Cell.CellFormat.VerticalAlignment = CellVerticalAlignment.Center;

DocumentBuilder also exposes the CellFormat property.