All the boxes show up in the next page.

Paulo

----- Original Message ----- 
From: "Thimo Seitz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, September 12, 2008 9:23 AM
Subject: [iText-questions] Question on setting pdfboxes


Hello All.

I'm using iText 2.0.7 for generating pdf-files. Is there a way to set
pdfboxes (especially the "art"-box) after I have completed the page?
I've notices that the Boxes which I can set with setBox() where stored in
PdfDocument.boxSize, which is read by PdfDocument.initPage() and copied into
PdfDocument.thisBoxSize.

Is it correct that I only can set the boxes for a page before the page is
created (means before PdfDocument.initPage() is called) ?

My current result is, that the artbox is set on the next page instead on the
currentPage.
I've inserted a simple setBoxThisPage()-Method which manipulates
PdfDocument.thisBoxSize. Is there a other Way to achieve this?

Best Regards
Thimo Seitz


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to