Forum und email

cpdf_moveto

(PHP 4, PHP 5 <= 5.0.5)

cpdf_moveto — Legt die aktuelle Position fest

Beschreibung

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

Setzt die aktuelle Position auf die angegebenen Koordinaten.

Parameter Liste

pdf_document

The document handle, returned by cpdf_open().

x_koor

Die x-Koordinate

y_koor

Die y-Koordinate

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.