PHP Manual
Prev |  | Next

# cpdf_show_xy

(3.0.8 - 3.0.18 only, PHP 4 >= 4.0.0)

cpdf_show_xy -- Output text at position

## Description

``void cpdf_show_xy` (int pdf document, string text, float x-coor, float y-coor [, int mode])`

The cpdf_show_xy() function outputs the string `text` at position with coordinates (`x-coor`, `y-coor`).

The optional parameter `mode` determines the unit length. If it's 0 or omitted the default unit as specified for the page is used. Otherwise the coordinates are measured in postscript points disregarding the current unit.

> Note: The function cpdf_show_xy() is identical to cpdf_text() without the optional parameters.

See also cpdf_text().

Prev | Home | Next
cpdf_show | Up | cpdf_stringwidth