Mirco Piccin wrote:
> Hi all.
> I see that is possible to add an image to PdfPCell using
> 
> ...
>       Image image = Image.getInstance("image.gif");
> 
> ...
>       table.addCell(image);
> ...
> 
> This method semms to be  not supported by Cell (com.lowagie.text.Cell).
> Is there any tips to do the job?

Cell has a method addElement(Element element) and a constructor 
Cell(Element element). Class Image implements the Element interface.
I hope this answers your question.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to