Copy link to clipboard
Copied
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.
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.
Copy link to clipboard
Copied
Actions are chained – you follow the chain from the PDAction
Copy link to clipboard
Copied
Would you like to show me the code?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
I was aware that I could get all Actions using CosObj, but I was hoping for a little way to not use CosObj.
I understood what I should do.
Thank you for your advice.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now