Forum und email

cpdf_page_init

(PHP 4, PHP 5 <= 5.0.5)

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

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를 반환합니다.