Skip to main content
Boris56
Known Participant
Dec 5, 2019 12:36 PM UTC
Answered

How to create URI action

Hello,

I need to create a link to the selected text so that when I click on it a certain page opens in the browser.
I created a PDAnnot object
PDAnnot annot = PDPageCreateAnnot (page, ASAtomFromString ("Link"), & fr);
Now, as I understand it, I need to add an action to this object - PDAction. But I don’t know how to do this. There is no such example in the Acrobat DC SDK in Documentation and in projects.

Help me, please.

This topic is closed to new replies. Start a new post to keep the conversation going.
ls_rbls
ls_rblsCorrect answer
Community Expert
Dec 9, 2019 11:15 PM UTC

Looks like we're talking about different things. I'm talking about creating an addin application based on Visual C ++, you are talking about working with Acrobat Reader as a user.


Ok, got it.

 

See if these other threads can assist you:

 

 

 

 

Technical Generalist

8 replies

ls_rbls
Community Expert
Community Expert
Dec 6, 2019 9:17 PM UTC

Are you trying to create a javascript that will provide a user with a link that when you click on it it will jump to a designated page inside the same PDF  document?

 

OR,

 

Are you trying to embedd a URL in the PDF document, that when the user clicks on it, it will redirect to a webpage outside of the document and viewed in a default browser?

Translate
Technical Generalist
Boris56
Boris56Author
Known Participant
Dec 7, 2019 8:47 AM UTC

I need a 2nd. To embedd a URL in the PDF document

Translate