Create a Chunk with the image and add that Chunk to the Anchor.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Glorious Blues [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, September 16, 2003 0:42
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Links on images.
>
> Hi.
>
> Is it possible to put a hyperlink on an image? I've
> tried doing something like this:
>
> Image image; // Initialized elsewhere.
> Anchor anchor = new Anchor("Image");
> anchor.add(image);
>
> The result is an exception because Anchors/Phrases
> have special code inside that prevents them from
> holding images.
>
> Thanks.
>
> Dave
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions