cpdf_add_annotation

(PHP 3 >= 3.0.12, PHP 4, PECL)

cpdf_add_annotation -- Adds annotation

Description

bool cpdf_add_annotation ( int pdf_document, float llx, float lly, float urx, float ury, string title, string content [, int mode] )

The cpdf_add_annotation() adds a note with the lower left corner at (llx, lly) and the upper right corner at (urx, ury). Returnerer TRUE ved succes, FALSE ved fejl.

Den valgfrie parameter mode bestemmer længden på et unit. Hvis den er 0 eller udeblevet, bliver det specificeret standard unit for siden brugt. Ellers er koordinaterne målt i postscript punkter, og ignorere det aktuelle unit.