PDF-XChange - Tracker PDF Viewer - TIFF-XChange - Image-XChange - XMF-XChange - Raster-XChange - Support

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

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.
 
RMan
User
Topic Author
Posts: 132
Joined: Tue Jul 02, 2013 10:06 pm

Add Root Bookmark using op.document.insertPages

Wed Aug 08, 2018 2:45 am

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.
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 3471
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Add Root Bookmark using op.document.insertPages

Wed Aug 08, 2018 1:30 pm

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.tracker-software.com/view/PXV:op_document_insertPages_Options#Options_Table

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
 
RMan
User
Topic Author
Posts: 132
Joined: Tue Jul 02, 2013 10:06 pm

Re: Add Root Bookmark using op.document.insertPages

Fri Aug 10, 2018 2:11 pm

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

Re: Add Root Bookmark using op.document.insertPages

Fri Aug 10, 2018 2:20 pm

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Who is online

Users browsing this forum: No registered users and 3 guests