By Date: <-- -->
By Thread: <-- -->

PdfPTable and Direct Content



Glaphmion wrote:

>Hi,
>
>I'm trying to create direct content (i.e. vector-based drawings) and
>place it in a PdfPCell, or at least in the space occupied by specific
>a PdfPCell, but I'm not sure how to do this exactly since direct
>content uses absolute coordinates, and if at all possible, I'd like to
>have the cell resize to match the dimension of the direct content
>(i.e. PdfTemplate).  What is the best way to do this?
>  
>
Create a class that implements a Cell Event.
Add this event to the specific PdfPCell.
Draw the direct content in the cell event method.
br,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions