I'd like to do it the same way I add hyperlinks where I specify a 
rendering hint to the graphics object with the text of the tooltip and 
have the tooltip added to the object on the PDF.

-Mike

1T3XT info wrote:
> Mike Korcynski wrote:
>   
>> Hi,
>>
>> I'm using PdfGraphics2D to render a PDF from my swing app, I've been 
>> able to add hyperlinks using PdfGraphics2D.HyperLinkKey, but I was 
>> wondering if there's a similar way to just add text tooltips to certain 
>> objects on the pdf as well?  I tried just adding text using the 
>> Hyperlink rendering hint, but that prefaced my text with 
>> file:///Users...  Is there any way to add text based tooltips to a 
>> PDFGraphics2D rendering?
>>     
>
> Tooltips are supported in PDF and iText, but to my knowledge they aren't 
> supported through the PdfGraphics2D functionality.
> How would you do it in the java.awt.Graphics2D interface?
>   


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to