Forum und email

cpdf_set_text_pos

(PHP 4, PHP 5 <= 5.0.5)

cpdf_set_text_pos — Legt die Textposition fest

Beschreibung

bool cpdf_set_text_pos ( int $PDF-Dokument , float $x_koor , float $y_koor [, int $Modus ] )

Legt die Position des Textes für den nächsten Aufruf von cpdf_show() fest.

Parameter Liste

pdf_document

The document handle, returned by cpdf_open().

x_koor

Die x-Koordinate der Position des Textes

y_koor

Die y-Koordinate der Position des Textes

mode

The optional parameter mode determines the unit length. If it is 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.

Rückgabewerte

Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.