----- Original Message -----
From: "David Thielen" <[EMAIL PROTECTED]>
To: "itext" <[EMAIL PROTECTED]>
Sent: Sunday, January 25, 2004 8:26
Subject: [iText-questions] Changing the page size part way through a
document


> Hi;
>
>
>
> If I am creating a pdf page using PdfContentByte writing to a Document
(via
> PdfWriter), how do I change the page size part way through:
>
> 1. Do I call Document.setPageSize()?

Yes.

> 2. Do I call it before I call Document.newPage() or after. (ie, does it
> set the size of the next page or the page I am on)?
>

Before. It sets the size of the next page.

Best Regards,
Paulo Soares



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to