(PHP 4, PHP 5 <= 5.0.5)
cpdf_restore — Restores formerly saved environment
Restores the environment saved with cpdf_save(). It works like the postscript command grestore. Very useful if you want to translate or rotate an object without effecting other objects.
Retorna TRUE em caso de sucesso ou FALSE em falhas.
Example#1 Save/Restore
<?php
cpdf_save($pdf);
// do all kinds of rotations, transformations, ...
cpdf_restore($pdf)
?>