PHP 手册
上一页 |  | 下一页

# cpdf_set_current_page

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

cpdf_set_current_page -- Sets current page

## 说明

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().

## 参数

`pdf_document`

  The document handle, returned by cpdf_open().

`page_number`

  The page number

## 返回值

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

## 参见

cpdf_finalize_page()

上一页 | 起始页 | 下一页
cpdf_set_creator | 上一级 | cpdf_set_font_directories