The result depends on the size of the image. If the image is bigger than the
greatest possible cell for the page, discounting the headers, if any, then
the row is dropped.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Ravi Vinnamuri [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 21, 2002 23:30
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Problem in using JPG image in a PdfPCell
> 
> 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

_______________________________________________________________

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