search for in the  
<cpdf_output_buffercpdf_place_inline_image>
Last updated: Thu, 19 May 2005

cpdf_page_init

(PHP 3 >= 3.0.8, PHP 4, PECL)

cpdf_page_init -- Starts new page

Description

bool cpdf_page_init ( int pdf_document, int page_number, int orientation, float height, float width [, float unit] )

The cpdf_page_init() function starts a new page with height height and width width. Returns TRUE on success or FALSE on failure. The page has number page_number and orientation orientation. orientation can be 0 for portrait and 1 for landscape. The last optional parameter unit sets the unit for the coordinate system. The value should be the number of postscript points per unit. Since one inch is equal to 72 points, a value of 72 would set the unit to one inch. The default is also 72.

See also cpdf_set_current_page().



User Contributed Notes
cpdf_page_init
misiek at dione dot ids dot pl
14-Jan-2005 04:11
Unit value for resoution in millimeters: 2.83464566929.

<cpdf_output_buffercpdf_place_inline_image>
 Last updated: Thu, 19 May 2005
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: The Server Pages
Last updated: Thu May 19 17:35:34 2005 CDT