Free Support Forum - aspose.com

How to align text horizontally in a table cell

I was wondering if there is a way to horizontally align text in a cell. I see there is a verticalalignment in the cellformat, but no horizontalalignment. Is there somewhere else I should be looking?<?xml:namespace prefix = o ns = “urnTongue Tiedchemas-microsoft-comSurprisefficeSurpriseffice” /><oStick out tongue></oStick out tongue>

You need to use DocumentBuilder.ParagraphFormat.Alignment because all text inside a cell is composed of paragraphs.