cpdf_restorePHP ManualPrevNextcpdf_restorecpdf_restore -- Restores formerly saved enviromentDescriptionvoid cpdf_restore(int pdf document);
The cpdf_restore() function restores the
enviroment 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.
Example 1. Save/Restore 1
2 <?php cpdf_save($pdf);
3 // do all kinds of rotations, transformations, ...
4 cpdf_restore($pdf) ?>
5
See also cpdf_save().PrevHomeNextcpdf_saveUpcpdf_translate
Wyszukiwarka