note 43726 added to ref.pdf

From: Date: Thu, 01 Jul 2004 11:10:43 +0000
Subject: note 43726 added to ref.pdf
Groups: php.notes 
Request: Send a blank email to php-notes+get-72259@lists.php.net to get a copy of this message
<?PHP /* A little helpful function to calculate millimeters to points */ function calcToPt($intMillimeter) { $intPoints = ($intMillimeter*72)/25.4; $intPoints = round($intPoints); return $intPoints; } /* For example: Create DIN A4 210x297 mm */ pdf_begin_page( $pdf, calcToPt(210), calcToPt(297)); // 595x842 pt ?> ---- Manual Page -- http://www.php.net/manual/en/ref.pdf.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43726 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43726&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43726&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#72259) next »