PHP Manual
Prev |  | Next

# PDF_close

(PHP 3 >= 3.0.6, PHP 4, PECL)

PDF_close -- Close pdf resource [deprecated]

## Description

bool PDF_close ( resource p )

Closes the generated PDF file, and frees all document-related resources. Returns `TRUE` on success or `FALSE` on failure.

This function is deprecated since PDFlib version 6, use PDF_end_document() instead.

Prev | Home | Next
PDF_close_pdi | Up | PDF_closepath_fill_stroke