Page 1 of 1

Add Root Bookmark using op.document.insertPages

Posted: Wed Aug 08, 2018 2:45 am
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.

Re: Add Root Bookmark using op.document.insertPages

Posted: Wed Aug 08, 2018 1:30 pm
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

Re: Add Root Bookmark using op.document.insertPages

Posted: Fri Aug 10, 2018 2:11 pm
by RMan
Works like a charm. Thanks so much.

Re: Add Root Bookmark using op.document.insertPages

Posted: Fri Aug 10, 2018 2:20 pm
by Sasha - Tracker Dev Team
:)