suche nach in der

PDF_set_layer_dependency> <PDF_set_info_title
Last updated: Fri, 18 May 2012

view this page in

PDF_set_info

(PHP 4 >= 4.0.1, PECL pdflib >= 1.0.0)

PDF_set_infoFüllt Dokumentinfofeld

Beschreibung

bool PDF_set_info ( resource $p , string $key , string $value )

Trägt value in das Dokumentinfofeld key ein. Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.



add a note add a note User Contributed Notes
PDF_set_info
mrmueller at gmx dot com
10-Sep-2006 05:00
If the first example does'nt show the correct dcoument property in Acrobat Reader, you should change first letters of the paramentes in capital letter. Instead "author" you should type "Author"...

// $pdf is the name of the pdf ducoment you created.
pdf_set_info($pdf, "Author", "Ahmed");
pdf_set_info($pdf, "Title", "PDF tutorial");
pdf_set_info($pdf, "Subject" , "PDF tutorial");
pdf_set_info($pdf, "Creator", "phpnet");

PDF_set_layer_dependency> <PDF_set_info_title
Last updated: Fri, 18 May 2012