PHP Manual: cpdf_add_annotation
cpdf_add_annotation
Description
bool cpdf_add_annotation ( int pdf_document, float llx, float lly, float urx, float ury, string title, string content [, int mode] )Adds a note at the specified point.
Parameters
pdf_documentThe document handle, returned by cpdf_open().
llxLower left X
llyLower left Y
urxUpper right X
uryUpper right Y
titleThe title of the annotation
textThe contents of the annotation
modeThe optional parameter
modedetermines 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.