PDF_attach_file
(PHP 4 >= 4.0.5, PECL pdflib:1.0-2.1.3)
PDF_attach_file — [Obsolète] Ajoute un fichier attaché à la page PDF
Description
bool PDF_attach_file
( resource $pdfdoc
, float $llx
, float $lly
, float $urx
, float $ury
, string $filename
, string $description
, string $author
, string $mimetype
, string $icon
)
PDF_attach_file ajoute un fichier attaché à la page courante. Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.
Cette fonction est osbolète depuis la version 6 de la PDFlib, utilisez la fonction PDF_create_annotation() avec le paramètre type=FileAttachment à la place.