JavaScript Editor Javascript debugger     Website design 

cpdf_set_title

Sets the title field of the pdf document (PHP 4, PHP 5 <= 5.0.5)
bool cpdf_set_title ( int pdf_document, string title )

Sets the title of a PDF document.

Parameters

pdf_document

The document handle, returned by cpdf_open().

title

The title of the document

Return Values

Returns TRUE on success or FALSE on failure.