Hi, I am using pdfbox to create links inside pdf as follows:

PDAnnotationLink txtLink = new PDAnnotationLink();

// code for setting position

PDActionURI action = new PDActionURI();

action.setURI("http://www.google.com";);

txtLink.setAction(action);

But when I open pdf in browser and click on the annotated text, it opens
url in the current tab in the browser.


Can I open links in new tab using pdfbox ? If yes, could you provide some
example ?

Thank you very much

Reply via email to