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

DevShed:
Positioning Strings with the show_xy() Method in PDF Documents with PHP 5
Nov 27, 2007 @ 17:16:00

DevShed is finishing off their series looking at building PDF documents in PHP 5 with this new tutorial covering the positioning of strings inside the document. They've already shown how to add them (and images) to your file in previous articles of the series.

This last installment of the series will be entirely focused on using a handy method that naturally belongs to the "PDFlib" library, called "show_xy()", which allows you to display complete blocks of text at different positions within a given PDF document, by using only a couple of X,Y coordinates.

They modify their PDFLib library they've been developing over the course of the series to handle the insertion of the text and placing it on the page. They also include an example of inserting blocks of text the same way.

tagged: showxy method pdflib php5 tutorial document showxy method pdflib php5 tutorial document

Link:


Trending Topics: