I would never guess about the ruler to measure the width because it wouldn't
work that way.  Why?  Because the PDF page can be in any size when I either
maximize the Acrobat Reader or use the mouse cursor to make it wider or
narrower.  This does not help me to measure the actual width of the PDF so
that's why the thought of the ruler never came to my mind....

"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Scott Fletcher wrote:
> > Bingo....  Did a lot of searching and found some code and modify it...
> >
> > --snip--
> >       //Logo
> >       $size="100";  //(min 0, max 210; it's for making image big or
small,
> > nothing else)
> >       $absx=(210-$size)/2;
> >       $this->Image('images/Logo.jpg',$absx,5,$size);
> > --snip--
>
> Well, you could take a ruler and find out A4 page is 210 milimeters wide
> without any PHP knowledge.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to