Re: How to center image in PDF (fpdf) using Image() in PHP....

From: Date: Fri, 03 Oct 2003 21:48:21 +0000
Subject: Re: How to center image in PDF (fpdf) using Image() in PHP....
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-164993@lists.php.net to get a copy of this message
I don't know what is A4 page. Problem is I don't use PDF very, very often so I'm a newbie on PDF.... "Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message news:3F7DED69.5030103@webglobe.sk... > Scott Fletcher wrote: > > 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.... > > > That is the size on the screen, but this has nothing to do with the size > pdf is printed. PDFs are designed for printing and have real world > measures, not pixels. 210 in the code you have found is width of A4 page.

« previous php.general (#164993) next »