Kyle Pickens wrote:
> Can I just 
> initially create a Rectangle of the same size as the screen image 
> dimensions, add the Chunks, and then do Document.setPageSize(A4)?

If I were you, I would create a PdfTemplate object with the
size of the original Image. Then add the image like this:
addImage(img, 0, 0);
Then add the other stuff with the appropriate methods
(beginText, setFontAndSize, showTextAligned, endText)
and objects (ColumnText will prove to be very valuable).

Once done, wrap the PdfTemplate in a com.lowagie.text.Image
object and scale it to fit the A4 page.
Add this Image to the A4 page and you're done.

Don't worry about the resolution of the text:
you may safely assume that all the text added to the
PdfTemplate object is in vector format.

br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to