PHP 매뉴얼
이전 |  | 다음

# 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. 성공일 경우 `TRUE`를, 실패일 경우 `FALSE`를 반환합니다.

예 1. Save/Restore

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

See also cpdf_save().

이전 | 처음으로 | 다음
cpdf_rect | 위로 | cpdf_rlineto