PHP Manual
Prev |  | Next

# cpdf_save_to_file

(3.0.8 - 3.0.18 only, PHP 4 >= 4.0.0)

cpdf_save_to_file -- Writes the pdf document into a file

## Description

``void cpdf_save_to_file` (int pdf document, string filename)`

The cpdf_save_to_file() function 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().

See also cpdf_output_buffer(), cpdf_open().

Prev | Home | Next
cpdf_save | Up | cpdf_scale