Creates a new PostScript document object

ps_new

(PECL ps >= 1.1.0)

ps_newCreates a new PostScript document object

說明

ps_new(): resource|false

Creates a new document instance. It does not create the file on disk or in memory, it just sets up everything. ps_new() is usually followed by a call of ps_open_file() to actually create the postscript document.

參數

此函式沒有參數。

返回值

Resource of PostScript document 或者在失敗時返回 false. The return value is passed to all other functions as the first argument.

參見

  • ps_delete() - Deletes all resources of a PostScript document

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *