cpdf_set_current_page

(PHP3 >= 3.0.9, PHP4 >= 4.0b4)

cpdf_set_current_page -- Sets current page

Description

void cpdf_set_current_page (int pdf document, int page number)

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

See also cpdf_finalize_page().