PDF_close_pdi

(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0) Close the input PDF document [deprecated] bool PDF_close_pdi ( resource $p, int $doc ) Closes all open page handles, and closes the input PDF document. Returns TRUE on success or FALSE on failure. This function is deprecated since PDFlib version 7, use PDF_close_pdi_document() instead.

PDF_close_pdi_page

(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0) Close the page handle bool PDF_close_pdi_page ( resource $p, int $page ) Closes the page handle, and frees all page-related resources. Returns TRUE on success or FALSE on failure.

PDF_close_image

(PHP 4, PECL pdflib >= 1.0.0) Close image bool PDF_close_image ( resource $p, int $image ) Closes an image retrieved with the PDF_open_image() function.

PDF_clip

(PHP 4, PECL pdflib >= 1.0.0) Clip to current path bool PDF_clip ( resource $p ) Uses the current path as clipping path, and terminate the path. Returns TRUE on success or FALSE on failure.

PDF_circle

(PHP 4, PECL pdflib >= 1.0.0) Draw a circle bool PDF_circle ( resource $pdfdoc, float $x, float $y, float $r ) Adds a circle. Returns TRUE on success or FALSE on failure.

PDF_begin_template

(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0) Start template definition [deprecated] int PDF_begin_template ( resource $pdfdoc, float $width, float $height ) Starts a new template definition. This function is deprecated since PDFlib version 7, use PDF_begin_template_ext() instead.

PDF_begin_template_ext

(PECL pdflib >= 2.1.0) Start template definition int PDF_begin_template_ext ( resource $pdfdoc, float $width, float $height, string $optlist ) Starts a new template definition.

PDF_begin_pattern

(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0) Start pattern definition int PDF_begin_pattern ( resource $pdfdoc, float $width, float $height, float $xstep, float $ystep, int $painttype ) Starts a new pattern definition.

PDF_begin_page

(PHP 4, PECL pdflib >= 1.0.0) Start new page [deprecated] bool PDF_begin_page ( resource $pdfdoc, float $width, float $height ) Adds a new page to the document. Returns TRUE on success or FALSE on failure. This function is deprecated since PDFlib version 6, use PDF_begin_page_ext() instead.

PDF_begin_page_ext

(PECL pdflib >= 2.0.0) Start new page bool PDF_begin_page_ext ( resource $pdfdoc, float $width, float $height, string $optlist ) Adds a new page to the document, and specifies various options. The parameters width and height are the dimensions of the new page in points. Returns TRUE on success or FALSE on failure. Common Page Sizes in Points name size A0 2380 x 3368 A1 1684 x 2380 A2 1190 x 1684 A3 842 x 1190 A4 595 x 84