Thread: Create pdf
View Single Post
Old 09-12-2009, 07:17 AM   #6 (permalink)
Randy
The Acquainted
 
Randy's Avatar
 
Join Date: May 2007
Location: Your G/F's Closet
Posts: 114
Thanks: 7
Randy is on a distinguished road
Default

to do that basically do the same as with fckeditor, create the variable (same command in the other post simply change the name of the field and variable name as image)

and use the following:

PHP Code:
pdf_fit_image($pdf$image$x$y); 
here is what each does, note i did not include the string.
Quote:
pdf_fit_image(resource, int, float-x, float-y, string)
string basically lets you modify the image such as string etc..

Read the manual at the following link if you want some help with the string, that is not my cup of tea.
http://us3.php.net/manual/en/function.pdf-fit-image.php

Glad to be helping :D
__________________
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25 - Andrew Rutherford
Send a message via AIM to Randy Send a message via MSN to Randy
Randy is offline  
Reply With Quote