Hi,
I've problems in using JPG image in a PdfPCell. I'm able to see the
image if I don't use the Cell/Table. When I use the table it doesn't
display the image. Following is the piece of code.

 Image  image = Image.getInstance(new
URL("http://saturn/images/abc.jpg";));
 PdfPTable table = new PdfPTable(1);
 table.setWidthPercentage(100);
 PdfPCell  cell = new PdfPCell(image);
 table.addCell(cell);
 document.add(table);

Thanks for the help,
Ravi


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to