FlyingBuzz wrote:
> Well  I tried making the last cell have a cellevent
> 
> the cellevent i wanted to draw the preview image but I couldnt get it to
> show up

>     public void cellLayout(PdfPCell cell, Rectangle rect, PdfContentByte[]
> canvas)
>     {
>         previewimage.setAbsolutePosition(36, 780);

You get the position of the cell in the parameter rect,
yet you use the arbitrary values x = 36, y = 780 to
position the image.

> Not sure why.

Because you didn't use the info passed to the event
in the rect parameter.
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to