Unfortunately, this doesn't work as intended. with cell = new
PdfPCell(image, false); the image is going out of bounds to the cell width.
And some parts of the image is truncated if the image size is larger than
page size. Can it be scaled down?
Vik

2008/11/4 1T3XT info <[EMAIL PROTECTED]>

> Change:
> > cell = new PdfPCell();
> > cell.setMinimumHeight(document.getPageSize().getHeight()/2);
> > cell.addElement(image);
> > table.addCell(cell);
> into:
> cell = new PdfPCell(image, false);
> cell.setMinimumHeight(document.getPageSize().getHeight()/2);
> table.addCell(cell);
> --
> 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
-------------------------------------------------------------------------
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