★ wanayoo — archive 1999 http://fr.php.net/manual/en/function.cpdf-restore.phpNouvelle recherche | Portail wanayoo
PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<cpdf_rectcpdf_rlineto>
view the version of this page
Last updated: Sun, 05 Sep 2004

cpdf_restore

(PHP 3>= 3.0.8, PHP 4 , PHP 5)

cpdf_restore -- Restores formerly saved environment

Description

bool cpdf_restore ( int pdf_document)

The cpdf_restore() function 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. Returns TRUE on success or FALSE on failure.

Example 1. Save/Restore

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

See also cpdf_save().



add a note add a note User Contributed Notes
cpdf_restore
There are no user contributed notes for this page.

<cpdf_rectcpdf_rlineto>
 Last updated: Sun, 05 Sep 2004
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2004 The PHP Group
All rights reserved.
This mirror generously provided by: nexen.net
Last updated: Mon Sep 6 05:24:38 2004 CEST