Re: How to center image in PDF (fpdf) using Image() in PHP....
| From: | Marek Kilimajer | Date: | Fri, 03 Oct 2003 21:43:05 +0000 |
| Subject: | Re: How to center image in PDF (fpdf) using Image() in PHP.... | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164992@lists.php.net to get a copy of this message | ||
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.