cpdf_save

(PHP 3 >= 3.0.8, PHP 4, PECL)

cpdf_save -- Saves current environment

Description

bool cpdf_save ( int pdf_document )

The cpdf_save() function saves the current environment. It works like the postscript command gsave. Very useful if you want to translate or rotate an object without effecting other objects. 如果成功则返回 TRUE,失败则返回 FALSE

See also cpdf_restore().