Posted on: 1/9/2014 12:52:34 PM | Views : 725

Hi All,
I have been following the post for cell alignment in open xml word document...
http://forums.asp.net/t/1945045.aspx?Cell+Alignment+in+OpenXml+Word+Table

However, Right alignment dosent seems to work... even the para properties and cell horizontal alignments have not worked how can that be acheived??? Any suggestions????
Heres the code
table.Append(new TableRow(new TableRowHeight() { Val = (UInt32Value)600U }, new TableCell(new TableCellProperties(new TableCellVerticalAlignment() { Val = TableVerticalAlignmentValues.Center}), new Paragraph(new Justification() { Val = JustificationValues.Right}, new Run(new RunFonts { Ascii = "Arial" }, new RunProperties(new FontSize { Val = "20" }), new Text(my text))))
Thanks
N1ZAM

Go to the complete details ...