Josep Miquel Garcia Rodriguez wrote:

I know that you can do: Document document = new Document(PageSize.A4.rotate());
and then it works well. But in my case I can't use tha way.

I didn't understand the question.
It is as Gustaf says: newPage doesn't trigger a new page if the page is empty.
I want to add one thing to Gustafs explanation:
if you change page properties of the first page,
you need to do this before document.open()
otherwise the properties will be changed starting
with the second page; not from the first page.
br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to