Forum und email

PDF_save

(PHP 4, PECL pdflib:1.0-2.1.3)

PDF_save — Saves the current environment

Description

void pdf_save ( int $pdf document )

The PDF_save() function saves the current environment. It works like the postscript command gsave. Very useful if you want to translate or rotate an object without effecting other objects. PDF_save() should always be followed by PDF_restore() to restore the environment before PDF_save().

See also PDF_restore().