Skip to main content
Inspiring
June 28, 2017
Answered

How to get bookmark's multiple actions?

Hi

I use PDBookmarkGetAction (aBookmark) to get the PDF bookmark's action

but if the bookmark has multiple actions, PDBookmarkGetAction (aBookmark) only get one action.

How I can get another action of the bookmark?

Thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.
Test Screen NameCorrect answer
Legend
June 30, 2017

PDAction is a convenience layer - to make the simple case easy. Your case is not simple; there is no PDActionGetNextAction or similar. So as in most more complex cases you have to study the PDF specification then use the Cos layer. There is a PDAction method to get you started with a CosObj.  

4 replies

lrosenth
Adobe Employee
Adobe Employee
June 28, 2017

Actions are chained – you follow the chain from the PDAction

Translate
erieru103Author
Inspiring
June 30, 2017

Would you like to show me the code?

Translate
Test Screen NameCorrect answer
Legend
June 30, 2017

PDAction is a convenience layer - to make the simple case easy. Your case is not simple; there is no PDActionGetNextAction or similar. So as in most more complex cases you have to study the PDF specification then use the Cos layer. There is a PDAction method to get you started with a CosObj.  

Translate