cpdf_set_current_page

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

cpdf_set_current_page -- Sets current page

Description

bool cpdf_set_current_page ( int pdf_document, int page_number )

Sets the page on which all operations are performed. One can switch between pages until a page is finished with cpdf_finalize_page().

Parameters

pdf_document

The document handle, returned by cpdf_open().

page_number

The page number

Return Values

Returns TRUE on success or FALSE on failure.

See Also

cpdf_finalize_page()