George Bilalis wrote:
> Well, from iText in Action comes the following example:

Actually that's just a snippet. You can always refer
to 1t3xt.info for the complete sample, for instance:
http://1t3xt.info/examples/browse/?page=toc&id=7

The problem with the original poster may be caused
by the fact that he doesn't know that setting the
page size only takes effect on the next page (as
explained in chapter 2 of the book). So either he
has to pass the page size as a parameter of the
Document constructor or he has to set the page size
BEFORE document.open().

I have no idea why he mentions the PageScaling option
and even less why he decides to set that value himself.
It's obviously somebody who didn't read the book ;-)
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to