Jonathan Logue wrote:
>> Use this 'color' as background color for the cells and the image used to 
>> create the pattern will be tiled in the background.
> 
> Interesting... that might do the trick. I will try that out next week and see 
> if I can make it work. No threats of violence if it does not ;-)

If you don't want the image 'tiled' in the background,
this could be yet another alternative:

IF you know the size of the cell in advance (a big IF, I know),
you can create a PdfTemplate with that size.
Add the Image to the PdfTemplate, add the text on top of it.
Now wrap the PdfTemplate inside an Image, and create a PdfPCell
with that Image.

Note that when I say 'wrap the template inside an Image',
this doesn't mean the text will be rasterized. It means
the content will be added as an XObject (a form XObject,
not an Image XObject if you want the correct PDF Reference
wording).
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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