Skip to main content
Inspiring
June 28, 2017
Answered

How to get bookmark's multiple actions?

  • June 28, 2017
  • 1 reply
  • 1182 views

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 has been closed for replies.
Correct answer Test Screen Name

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.  

1 reply

lrosenth
Adobe Employee
Adobe Employee
June 28, 2017

Actions are chained – you follow the chain from the PDAction

erieru103Author
Inspiring
June 30, 2017

Would you like to show me the code?

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.