I'm using this code to draw cells of a table:
Cell c22 = new Cell("CYCLO");
c22.Colspan = 5;
c22.HorizontalAlignment = Element.ALIGN_LEFT;
c22.VerticalAlignment = Element.ALIGN_MIDDLE;
c22.BackgroundColor = ColorUtils.ITextYellow();
aTable.AddCell(c22, 6, 0);
The horizontal alignment is working as expected, but I can't center the
content of the cell in the center of the cell. How can I do that?
Thanks
Sebastian
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php