cpdf_restore
(PHP 4, PHP 5 <= 5.0.5)
cpdf_restore — Restores formerly saved environment
Popis
bool cpdf_restore ( int $pdf_document )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.
Seznam parametrů
- pdf_document
The document handle, returned by cpdf_open().
Návratové hodnoty
Vrací TRUE při úspěchu, FALSE při selhání.
Příklady
Příklad 297. Save/Restore
<?php
cpdf_save($pdf);
// do all kinds of rotations, transformations, ...
cpdf_restore($pdf)
?>
Viz také
| cpdf_save() |
cpdf_restore
There are no user contributed notes for this page.
