PHP 手册
后退 |  | 前进

# cpdf_global_set_document_limits

(PHP 4, PHP 5 <= 5.0.4)

cpdf_global_set_document_limits -- Sets document limits for any pdf document

## Description

bool cpdf_global_set_document_limits ( int maxpages, int maxfonts, int maximages, int maxannotations, int maxobjects )

The cpdf_global_set_document_limits() function sets several document limits. This function has to be called before cpdf_open() to take effect. It sets the limits for any document open afterwards. 如果成功则返回 `TRUE`，失败则返回 `FALSE`。

See also cpdf_open().

后退 | 起点 | 前进
cpdf_finalize | 上一级 | cpdf_import_jpeg