PHP Manual
Prev |  | Next

# PDF_restore

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
      1
      2 <?php PDF_save($pdf);
      3 // do all kinds of rotations, transformations, ...
      4 PDF_restore($pdf) ?>
      5

See also PDF_save().

Prev | Home | Next
PDF_save | Up | PDF_translate