• Bookmark at: Del.icio.us
  • Bookmark at: Mister Wong
  • Bookmark at: Linkarena
  • Bookmark at: Digg
  • Bookmark at: Yahoo
  • Bookmark at: Google
  • Bookmark at: Icio

Manuals

 

SetaPDF-Stamper API - Introduction

The SetaPDF-Stamper API is a collection of PHP classes that allows PHP developers to add new content to existing PDF documents.

The implementation is designed in an intuitional way. The API offers one main class, the SetaPDF_Stamper class and some special classes which represents the stamps (SetaPDF_TextStamp, SetaPDF_PNGStamp, SetaPDF_JPGStamp). Stamps were created absoultely independend of the main class and just represents the visual content of a stamp, but not positioning or rotation of it. This task is done when assigning such stamp to the main class (SetaPDF_Stamper::setStamp()). When assigning a stamp object to the main class, you can f.g. defined the position and the page numbers on which the stamp should appear. It is also possible to reuse this stamp object and reassign it to different page numbers and different position or rotations.