ps_set_text_pos()
ps_set_text_pos - Sets position for text output
Syntax
bool ps_set_text_pos (
resource $psdoc,
float $x,
float $y)
Arguments
- psdoc - Resource identifier of the postscript file as returned by ps_new().
- x - x-coordinate of the new text position.
- y - y-coordinate of the new text position.
Description
Set the position for the next text output. You may alternatively set the x and y value separately by calling ps_set_value() and choosing textxrespectively textyas the value name.
Version
PHP PECL ps >= 1.1.0
Return value
Returns TRUE on success or FALSE on failure.