ClibPDF
PHP Manual

cpdf_close

(PHP 4, PHP 5 <= 5.0.5)

cpdf_close — Closes the pdf document

Description

bool cpdf_close ( int $pdf_document )

Closes the PDF document.

This should be the last function called, even after cpdf_finalize(), cpdf_output_buffer() or cpdf_save_to_file().

Parameters

pdf_document

The document handle, returned by cpdf_open().

Return Values

Returns TRUE on success or FALSE on failure.

See Also


ClibPDF
PHP Manual