Yes,
that's just a snippet from the quoted example (I only meant it as indication to
the point).
Then a rectangle is supposed to be defined at two corners and not by "width x
height". Isn't it?
George
> Date: Tue, 22 Apr 2008 18:42:48 +0200> From: [EMAIL PROTECTED]> To:
> itext-questions@lists.sourceforge.net> Subject: Re: [iText-questions] How to
> set page size such as A3, A5, A6 etc for pdf by using iText> > 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
_________________________________________________________________
Κατεβάστε 30 ΔΩΡΕΑΝ Emoticons για τον Windows Live Messenger σας!
http://www.livemessenger-emoticons.com/el-gr/
-------------------------------------------------------------------------
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