Gaet wrote:

Hi the list,

I have defined a document in LANDSCAPE mode but I would like to insert a PORTRAIT page, is it possible

Yes. Read the tutorial:
http://itextdocs.lowagie.com/tutorial/index.html#general
I quote:
Generates a PDF document with the first page in Lanscape; the second page in Portrait.

I have tried this but without any result :

Document document = *new* Document(PageSize.A4.rotate(),10,10,10,10);

...............

document.setPageSize(PageSize.A4);

C'est exactement ce qui est dans l'example et ça marche!
Ce qui vous faut est d'étudier les exemples d'abord.
Je ne vais plus répondre à vos questions si vous continuez
à dire des choses qui ne sont pas vraies.
br,
Bruno


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to