PDF_restore

(PHP3 >= 3.0.6, PHP4 )

PDF_restore -- Restores formerly saved environment

Description

void pdf_restore (int pdf document)

The PDF_restore() function restores the environment saved with PDF_save(). It works like the postscript command grestore.

Example 1. Save and Restore


<?php PDF_save($pdf);
// do all kinds of rotations, transformations, ...
PDF_restore($pdf) ?>

See also PDF_save().