Hello, Thanks for your patience. ok, let me try to put my requirements. 1. the generated PDF will be composed of many tables 2. Each table will have many rows 3. In each table, some of the rows consists of text and some will have images. So each table is a combination of text and image. 4. The image inserted in a row should be clear enough - the row with the image should be at least half of the page size.
It doesn't matter if the rows don't split late (splitRowsLate(false)), in fact i would prefer to have the rows whose content is more than 1 page to be split (late) between pages. But if i have splitRowsLate(false), the image is being scaled to fit into the remaining available space in a page (for example 1/10 of a page), eventhough the minimum height of the row is set to half of the page. Interesting thing is this row seems to continue in the next page (with blank space). I attached two pdf's generated, hope they will help you.you can find the code in the second pdf file :-) Hope it is clear now :-) thanks Vik 2008/11/5 1T3XT info <[EMAIL PROTECTED]> > Vikash Reddy wrote: > > I want to scale down the image, > > In that case you need: PdfPCell(image, true); > I interpreted your initial question in the sense that you didn't want to > scale down the image. > > > Probably, I have to use table.setSplitLate(true) instead, even though I > > would rather like to break the table only when the cell is less than > > half of page-height. > > > > Any ideas? > > I can't picture your requirements. > I don't understand them. > > You want to add a table with Images to a PDF document so that there are > two images per page in a table with two rows. > > What am I missing? Where am I wrong? > -- > This answer is provided by 1T3XT BVBA > http://www.1t3xt.com/ - http://www.1t3xt.info > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > -- Vikash Katta Institute for Energy Technology, Halden, Norway. Mob: 0047 45464323
test_pdf_1.pdf
Description: Adobe PDF document
test_pdf_3.pdf
Description: Adobe PDF document
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
