Put the image in a Chunk if you want to keep the dimensions.
----- Original Message -----
From: "C Sell" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, March 27, 2006 8:49 PM
Subject: [iText-questions] images with a PdfPtable
When using an image class inside of PdfPtable how does that image get sized
within the PdfPTable?
Looking at documenation it's hard to tell what is controlling the size of
the image or the cell..
Here is a code example:
PdfPTable table = new PdfPTable(2);
table.addCell(new Paragraph("Hello"));
table.addCell(new Image("smallImage.gif"); // 25x25 image
document.add(table)
When I view the page the image is way bigger than what it's orginal
dimensions were. Does anyone know how to change the size of the column,
cell, or image?
Thanks
Sellc
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC for low,
low rates.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions