PHP: cpdf_page_init - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

cpdf_place_inline_image cpdf_output_buffer

Last updated: Fri, 26 Jan 2007

view this page in

# cpdf_page_init

(PHP 3 >= 3.0.8, PHP 4, PHP 5 <= 5.0.4)

cpdf_page_init -- Starts new page

## Описание

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

Starts a new page.

## Список параметров

`pdf_document`

  The document handle, returned by cpdf_open().

`page_number`

  The page number

`orientation`

  0 for portrait and 1 for landscape

`height`

  The page height

`width`

  The page width

`unit`

  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.

## Возвращаемые значения

Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

## Смотрите также

cpdf_set_current_page()

add a note User Contributed Notes
cpdf_page_init
misiek at dione dot ids dot pl
14-Jan-2005 02:11
`Unit value for resoution in millimeters: 2.83464566929.`
add a note
cpdf_place_inline_image cpdf_output_buffer

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST