Let's call it a feature and document it. The behavior stays the same but now
we know how to do it the right way. There's probably too many people relying
on this to change it now.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, January 28, 2002 14:14
> To:   [EMAIL PROTECTED]
> Cc:   'Antoine BLANC'
> Subject:      [iText-questions] Re: PAge size and margin
> 
> Paulo Soares writes:
> 
> > It's a bug. The page size change is deferred to the next page but the
> > margins take effect immediately.
> 
> >> pageSize = new Rectangle(680, 907);
> >> document.setPageSize(pageSize);
> >> document.newpage() ;
> >> document.setMargins(0, 0, 25.5f, 2);
> 
> should do the trick. 
> 
> If we fix the bug, we should be careful not to break
> existing projects.
> 
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to