Close all open page handles, and close the input PDF document. Returns TRUE on success or FALSE on failure.
See also pdf_open_pdi().