Invisible links

View: New views
2 Messages — Rating Filter:   Alert me  

Invisible links

by John Renfrew :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Using Acrobat it is possible to set the type of link to invisible rectangle or visible rectangle.

 

Is this supported in iText, and can you point to the documentation that will help me find my answers…

 

 

Thanks

 

john renfrew

Right Way Up
Office  +44 1675 475341
Fax      +44 1675 475342
Mobile +44 7767 443992

 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: Invisible links

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John Renfrew wrote:
> Using Acrobat it is possible to set the type of link to invisible
> rectangle or visible rectangle.
>
> Is this supported in iText,

Look at the Anchor examples in the book: yes, it's supported

> and can you point to the documentation that
> will help me find my answers

As said before, look at the API docs:
http://1t3xt.info/api/com/lowagie/text/pdf/PdfAnnotation.html

Search for INVISIBLE.
You'll find FLAGS_INVISIBLE.

Now look for flags.
You'll find setFlags().

Now combine both:
link.setFlags(PdfAnnotation.FLAGS_INVISIBLE);

Now pray that I'm able to meet the deadline for 1/3 of the new book.
I fear I'll have to work nights.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/