Forum und email

cpdf_add_annotation

(PHP 4, PHP 5 <= 5.0.5)

cpdf_add_annotation — Fügt eine Anmerkung ein

Beschreibung

bool cpdf_add_annotation ( int $PDF-Dokument , float $ulx , float $uly , float $orx , float $ory , string $Titel , string $Inhalt [, int $Modus ] )

Fügt eine Anmerkung am angegebenen Punkt ein.

Parameter Liste

pdf_document

The document handle, returned by cpdf_open().

ulx

Die x-Koordinate der Ecke unten links

uly

Die y-Koordinate der Ecke unten links

orx

Die x-Koordinate der Ecke oben rechts

ory

Die y-Koordinate der Ecke oben rechts

Titel

Der Titel der Anmerkung

Inhalt

Der Inhalt der Anmerkung

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.