JavaScript Editor Javascript debugger     Website design 

cpdf_finalize

Ends document (PHP 4, PHP 5 <= 5.0.5)
bool cpdf_finalize ( int pdf_document )

Ends the PDF document.

You still have to call cpdf_close().

Parameters

pdf_document

The document handle, returned by cpdf_open().

Return Values

Returns TRUE on success or FALSE on failure.

See Also
cpdf_close()