Hi all,

I am having a problem generating a many page PDF file, with pages that alternate between landscape and portrait.

Before I open each new page, I do one of the following:

document.setPageSize(PageSize.A4.rotate());

or

document.setPageSize(PageSize.A4);

depending on whether the next page is portrait or landscape.

It works the first few times, but then it gets stuck: when the page is to flip from landscape to portrait, the page is rendered as landscape, but then cropped as if it were portrait.

I have an example PDF file with the problem, but the file contains private data - I can mail it privately if anyone is willing to take a look.

Regards,
Graham
--



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to