--- James Cowan <[EMAIL PROTECTED]> wrote:

> 
> Hi
> 
> I am adding an image to a table and am not sure
> about a couple of issues.
> 
> What does the fit parameter do - I guess force the
> image to fit into the
> height  and width of the cell?
>

Yes.
 
> PdfPCell cell = new PdfPCell(img, false);
> 
> Is it possible to set the background colour of the
> image - by doing
> setBackgroundColor of the image and/or the cell?
> 

You can set the background of the cell. The places
that the cell doesn't cover either by transparency or
size will show in that color.

> James Cowan
> 
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> iText-questions mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to