Outputs the PDF document into a file if it has been created in memory.
This function is not needed if the PDF document has been open
by specifying a filename as a parameter of cpdf_open().
Parameters
-
pdf_document
The document handle, returned by
cpdf_open().
- filename
The path to the saved PDF document
Return Values
Returns TRUE
on success or FALSE
on failure.