Hello,
you have posted a mail to [email protected] but you
weren't subscribed.
You are receiving this answer because I've added your mail address in Bcc:
I will do this only once! Further answers will be sent to the
mailing-list only (you won't receive them if you don't subscribe).
Further questions to the mailing-list will be rejected unless you
subscribe. Further questions sent to the 1t3xt address will be ignored.
Please understand that, as long as you don't subscribe, somebody has to
MANUALLY approve your mail among a huge load of SPAM. You can help us
avoid this boring administrative job by following the rules:
http://itextpdf.com/support.php
Op 25/02/2011 12:48, Sebastian Müller schreef:
> 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?
I see that you're not using PdfPCell, but Cell.
Cell is a class that has been removed from iText(Sharp) in 2009.
The version you're using is no longer supported.
------------------------------------------------------------------------------
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