Forum und email

cpdf_save_to_file

(PHP 4, PHP 5 <= 5.0.5)

cpdf_save_to_file — Writes the pdf document into a file

설명

bool cpdf_save_to_file ( int $pdf_document , string $filename )

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().

매개변수

pdf_document

cpdf_open()이 반환한 문서 핸들.

filename

The path to the saved PDF document

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.