News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Drawing Basic Rectangles in PDF Documents with PHP 5
November 20, 2007 @ 12:56:00

DevShed has continued their look at working with PDFs in a PHP5 application with this new part, part four, focusing on making a PDF with basic rectangles drawn in it.

All right, now that you know how to include basic blocks of text into a simple PDF file, in addition to incorporating some images, the question that comes up here is: what's the next step to take? Well, in this fourth part of the series I'm going to show you how to draw a few basic shapes, once a PDF document has been opened, like empty and filled rectangles, which can be useful if you want to decorate the document with these kinds of forms.

The tutorial walks you through the creation of another sample PDF file (with text and an image) and shows the process for adding rectangles via the rect() function call on their PDFLib class.

0 comments voice your opinion now!
php5 rectangle pdf tutorial document image text php5 rectangle pdf tutorial document image text


blog comments powered by Disqus

Similar Posts

Alex Inführ: PHP non alpha numeric 7 and 6 char code

Tiger Heron Blog: First steps with PHP - booting a script, Part 1

DevShed: Iterators in the Simplest Sense - Traversing Data Structures in PHP 5

Sean Coates' Blog: PHP 5.3 on Snow Leopard

Piotr Walczyszyn's Blog: Configuring Eclipse PDT & Flash Builder 4 Plug-in for PHP/Flex development


Community Events





Don't see your event here?
Let us know!


release install opinion symfony framework zendserver package laravel introduction library update series api language community podcast tips list deployment interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework