Php/docs/function.ps-save

来自菜鸟教程
跳转至:导航、​搜索

ps_save

(PECL ps >= 1.1.0)

ps_saveSave current context


说明

ps_save ( resource $psdoc ) : bool

Saves the current graphics context, containing colors, translation and rotation settings and some more. A saved context can be restored with ps_restore().


参数

psdoc
Resource identifier of the postscript file as returned by ps_new().


返回值

成功时返回 true, 或者在失败时返回 false


参见