Re: About PDF
| From: | Rainer Schaaf | Date: | Fri, 16 Feb 2001 09:07:21 +0000 |
| Subject: | Re: About PDF | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5590@lists.php.net to get a copy of this message | ||
> I´m making a Pdf document with Php.
>
> Questions:
>
> · ¿Can i make TABLES with Pdf?
> (Something like Html...)
>
Yes and no. There is no special highlevel API defined for the PDFlib
functions to do that. So you have to do the programin on your own.
>
> · I'm going to write a text, but i don´t know the lenght of this text. What
> i want is that Pdf breaks the line and jumps to the next line automatically.
> ¿How can i make this with Pdf functions?
>
>
You may user PDF_show_boxed(), or you user PDF_stringwidth() to build
your own formatting routine.
> · The function 'PDF_curveto' draws a curve around 4 points. I want to draw
> a curve around N points.
> ¿How can i do that?
>
Then you have to call PDF_curveto() more than once.
>
>
> Thankyou very much for any help.
>
Rainer
--
Rainer Schaaf rjs@pdflib.com http://www.pdflib.com
_______PDFlib - a library for generating PDF on the fly________