Thanks for the repsonse, Paulo.
Your suggestions does allow me to put the image into
the anchor, but it changes the positioning of the
image. When the image is in a chunk in an anchor, how
can I put it in the same spot it would be in if I had
just added the image to the document?
Thanks a lot.
Dave
--- Paulo Soares <[EMAIL PROTECTED]> wrote:
> 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
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.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