pdf_attach_file
(PHP 4 >= 4.0.5, PECL)
pdf_attach_file -- Add file attachment for current page [deprecated]
Descripción
bool
pdf_attach_file ( resource pdfdoc, float llx, float lly, float urx, float ury, string filename, string description, string author, string mimetype, string icon )
Add a file attachment annotation. icon is one of
graph, paperclip,
pushpin, or tag. Devuelve TRUE si todo se
llevó a cabo correctamente, FALSE en caso
de fallo.
This function is deprecated since PDFlib version 6, use pdf_create_annotation() with type=FileAttachment instead.