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

Reply via email to