Skip to main content
Known Participant
June 12, 2019
Question

How to activate annotation by clicking

  • June 12, 2019
  • 1 reply
  • 1427 views

How to activate annotation by cliking on it , I write annotation to bbox on page , I want to highlight it after adding , so that user can see where to click. And also , i want to add clicking fucntionality to it ( activation after clicking ) what callbacks or smth should I use ?

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
June 12, 2019

Neither of these can be done with a markup annotation.

What is your ultimate goal? Perhaps there is another way.

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Known Participant
June 12, 2019

I have 3d annotation , my ultimate goal is to allow user to chose what annotation to chose in the current page and select this annotation , after clicking on it , opens external viewer

Thom Parker
Community Expert
Community Expert
June 12, 2019

3D Annots have the advantage or their own JS context and a communication pipe with Acrobat JS. So while it's not possible to select a 3D annot from a script, code can interact with it to do other things.

However, this is the wrong forum for your question. Repost to the 3D forum

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often