PhpRiot
Follow phpriot on Twitter
Sponsored Link
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store
Free iPad/iPhone App
Available on the App Store

  • PHP manual
  • Zend Framework manual
  • Smarty manual
  • PHP articles
  • PHP training

Introduction

The Zend_Pdf component is a PDF (Portable Document Format) manipulation engine. It can load, create, modify and save documents. Thus it can help any PHP application dynamically create PDF documents by modifying existing documents or generating new ones from scratch. Zend_Pdf offers the following features:

  • Create a new document or load existing one. [7]

  • Retrieve a specified revision of the document.

  • Manipulate pages within a document. Change page order, add new pages, remove pages from a document.

  • Different drawing primitives (lines, rectangles, polygons, circles, ellipses and sectors).

  • Text drawing using any of the 14 standard (built-in) fonts or your own custom TrueType fonts.

  • Rotations.

  • Image drawing. [8]

  • Incremental PDF file update.



[7] Loading PDF V1.4 (Acrobat 5) documents is now supported.

[8] JPG, PNG [Up to 8bit per channel+Alpha] and TIFF images are supported.

Zend Framework