Gmane
Favicon Gravatar
From: Bruno Lowagie <bruno <at> lowagie.com>
Subject: Re: Newbie questions
Newsgroups: gmane.comp.java.lib.itext.general
Date: 2006-02-10 13:07:53 GMT (3 years, 20 weeks, 4 days and 51 minutes ago)
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