Øystein Lekang wrote:
> 
> I would like to have a gradient shading for background in some
> PdfPCells, but I don't seem to be able to figure out how.
> 
> Seems like com.lowagie.text.pdf.ShadingColor is it. But this 
> ends up needing a com.lowagie.text.pdf.PdfShading, which seems 
> to need coordinates..

Yes, you need coordinates.

> How would I go about placing a gradient background color in 
> a PdfPCell?

Create a PdfPCell event. Implement the cellLayout method,
and add the event to the cells that need the specific background.
br,
Bruno

-------------------------------------------------------------------------
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