cpdf_finalize

Ends document (PHP 3 >= 3.0.8, PHP 4, PHP 5 <= 5.0.4)
bool cpdf_finalize ( int pdf_document )

The cpdf_finalize() function ends the document. You still have to call cpdf_close(). 如果成功则返回 TRUE,失败则返回 FALSE

See also cpdf_close().