Thank you for your help.

I am attempting to add a link within the PDF to open a page on the same
domain in a new window.  The following opens the link but in the same
browser window.

Chunk link = new Chunk("<-- view page -->");
link.setAction(PdfAction.gotoRemotePage("http://mydomain/mypage","page1",false,true));

I have also been trying to do this with a PdfAction.javascript and
app.launchURL but am getting a NullPointerException whenever my script
reaches 100 characters.

Is it possible to open a link in a new window and if so, what way should I
be going about it as I am obliviously doing something wrong.

Regards.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to