downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ps_set_text_pos> <ps_set_info
Last updated: Fri, 13 Nov 2009

view this page in

ps_set_parameter

(PECL ps >= 1.1.0)

ps_set_parameterパラメータを設定する

説明

bool ps_set_parameter ( resource $psdoc , string $name , string $value )

多くの関数で利用されるパラメータを設定します。 パラメータは文字列値として定義されます。

パラメータ

psdoc

ps_new() が返す、postscript ファイルのリソース ID。

name

使用できる名称については ps_get_parameter() を参照ください。

value

パラメータの値。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

参考



add a note add a note User Contributed Notes
ps_set_parameter
php at catchall dot toao dot net
12-Jun-2009 03:54
Note that when setting a parameter such as "true" or "false", in this case "true" and "false" are strings.
Correct syntax would be:
<?php ps_set_parameter($ps, "linebreak", "true"); ?>
This does NOT work:
<?php ps_set_parameter($ps, "linebreak", true); ?>

ps_set_text_pos> <ps_set_info
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites