Vikash Reddy wrote:
> Hope it is clear now :-)

Yes, the difficulty is that you want iText to make a decision:
- scale the image if there's half a page left
- don't scale the image if there's less than a half page left

iText can't make decisions like that, you need to program them.
I'd use ColumnText for this purpose.
Add the rows in separate tables; call go() and ask the ColumnText
for the Y position. Make your decision (skip to the next page or
not) based on this value.
-- 
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

Reply via email to