Hi 

i want to set a rowspan in my table for some colored cells like this:

cell = new PdfPCell(new Phrase(text, textFont2));
cell.setBackgroundColor(bgColor2);
cell.setHorizontalAlignment(Element.ALIGN_CENTER);
cell.setVerticalAlignment(Element.ALIGN_MIDDLE);
cell.setRowspan(3); 
                                                        
table.addCell(cell); 

He does the rowspan but the background color is only set for the first cell. 
How is it supposed to be done? 

Thx for the help
noise



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Rowspan-and-background-color-tp4659361.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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

Reply via email to