# ps_end_template

(PECL ps >= 1.2.0)

ps_end_template — End a template

### 说明

ps_end_template ( resource `$psdoc` ) : bool

Ends a template which was started with ps_begin_template(). Once a template has been ended, it can be used like an image.

### 参数

`psdoc`

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

### 返回值

成功时返回 `TRUE`， 或者在失败时返回 `FALSE`。

### 参见

- ps_begin_template() - Start a new template