Make the cell's leading the size the tallest of the images. If using a PdfPTable you can use automatic leading.
Best Regards, Paulo Soares ----- Original Message ----- From: "Christopher Anderson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 06, 2003 20:32 Subject: [iText-questions] Images in Tables > Hi there! This is my first posting to this mailing list, so please bear > with > me, I am not familiar with the protocol yet. Anyway, I am having a > strange > problem with images, and perhaps you folks could enlighten me. I have > this > table with several rows and I need to insert a bunch of small, thumbnail > > size pictures in a cell at the bottom of the table. However, when I add > the > Image objects directly to the cell, they each get placed on a new line. > I > would like them all to be on the same line and only flow to the next > line if > there isn't enough room, but I can find no properties to set this > behavior. > I tried placing each Image in a Chunk and adding the Chunks to the cell. > > This does keep the images on the same line, but for some reason the > spacing > goes really nuts. The images for some reason don't fill up the right > amount > of space and end up overlapping other text. I even tried placing the > images > in a table, and adding this table to the cell (as a sub-table). This got > > really strange because iText would not let me span the cell out to the > full > three columns that it need. Anyway, insights would be wonderful. Thanks! > > Chris Anderson > Spartacus Productions > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
