My rtf documnet has tables and I need set a backgroung color (for example
the color "new Color(232,232,232)").

I try the following code

Table t =new Table(1);
Cell c=new Cell("hola");
c.setBackgroundColor( new Color(232,232,232));
t.addCell(c);

and setBackgroundColor seems to be ignored.

I think that for the background color, only work the colors that are Color
class` static attributes. Is It true?

Thanks in advance
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to