©
This document uses PHP Chinese website manual Release
(PECL ps >= 1.1.0)
ps_set_value — Sets certain values
$psdoc
, string $name
, float $value
)Sets several values which are used by many functions. Parameters are by definition float values.
psdoc
Resource identifier of the postscript file as returned by ps_new() .
name
The name
can be one of the following:
The way how text is shown.
The x coordinate for text output.
The y coordinate for text output.
The distance between words relative to the width of a space.
The distance between lines in pixels.
value
The value of the parameter.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。