Hi,
Thank you very much for your follow-up to prior inquiry & the PDF attachment
you then included appears exactly as we'd like; however I didn't find any
corresponding source to confirm + compare our logic against.
In our prior attempts to replicate the same we used the following - both with &
without paragraphs & also with & without Chunk.NEXTPAGE:
img.setAlignment(Image.ALIGN_CENTER);
img.setBorder(0);
float pageWidth = Float.valueOf(img.getScaledWidth());
float pageHeight = Float.valueOf(img.getScaledHeight());
Rectangle r = new Rectangle(pageWidth, pageHeight);
document.setPageSize(r);
document.add(img);
Would you please help identify + include the exact procedure your code used to
achieve what you prepared & sent?
Thanks,
Steve
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/