That's a layer problem with Table. It doesn't happen with PdfPTable or you can use an onStartPage event and place the rectangle in PdfWriter.getDirectContentUnder().
Best Regards, Paulo Soares ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2003 13:29 Subject: [iText-questions] Problem using pageSize.setBackgroundColor(xyz); > > Greetings *, > > My Problem: > if I use the following Code to create a document > > ######################################################################## > ############## > com.lowagie.text.Rectangle pageSize = PageSize.A4; > pageSize.setBackgroundColor(lightGreen); > com.lowagie.text.Document pdfDokument = new > com.lowagie.text.Document(pageSize, 0, 0, 0, 20); > ######################################################################## > ############## > > an create a Table with black Boders within this document then the > Borders of the Table are not drawn. > Can anybody tell me why or has anybody a solution or workaround for this > problem? > > best regards, > Marco > > PS. sorry for my english... > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions