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.