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.

Reply via email to