Hi again,
I did the following ...
Document d = new Document();
//....in a for loop
d.newPage();
d.setPageSize(new Rectangle(x,y));
//d.newPage(); can be called here, doesn't change anything
The very first page of this document has a A4 size, which I guess is the default provided by new Document();
Of course I can try to find (out of the loop) the first page size when calling the Document constructor, but I was wondering if there is an other way to do this ?
I may have missed something in my Document lifecycle...
Best,
Mike
******************************************
Michael TOULA
Software Engineer
Dalim Software GmbH
Strassburger Str. 6
D-77694
Kehl am Rhein
GERMANY
tel: +49 7851 919 652
fax: +49 7851 735 76
web: www.dalim.com
******************************************
SEE US AT DRUPA 2004 - May 6th-19th. Hall 9, Booth B62
