Add Root Bookmark using op.document.insertPages

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
RMan
User
Posts: 221
Joined: Tue Jul 02, 2013 10:06 pm

Add Root Bookmark using op.document.insertPages

Post by RMan »

Is there an undocumented value to add root bookmarks using the op.document.insertPages function?

I see there is a flag (IPF_OCG_CopyWithAddRoots) for the IPXC_Pages::InsertPagesFromDoc and IPXC_Pages::InsertPagesFromDocEx functions but I don't see anything for the op.document.insertPages that will do it in the online help.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Add Root Bookmark using op.document.insertPages

Post by Sasha - Tracker Dev Team »

Hello RMan,

There is such a parameter and as it is relatively newer as the operation itself it was not added to the operation parameters description. Please check the updated description here (the table's bottom):
https://sdkhelp.pdf-xchange.com/vi ... ions_Table

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
RMan
User
Posts: 221
Joined: Tue Jul 02, 2013 10:06 pm

Re: Add Root Bookmark using op.document.insertPages

Post by RMan »

Works like a charm. Thanks so much.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Add Root Bookmark using op.document.insertPages

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply