pdf_add_note

(PHP 4 >= 4.0.5, PECL)

pdf_add_note -- Set annotation for current page [deprecated]

Description

bool pdf_add_note ( resource pdfdoc, float llx, float lly, float urx, float ury, string contents, string title, string icon, int open )

Sets an annotation for the current page. icon is one of comment, insert, note, paragraph, newparagraph, key, or help. Returns TRUE on success or FALSE on failure.

This function is deprecated since PDFlib version 6, use pdf_create_annotation() with type=Text instead.