Export pages with comments

PDF-XChange Editor SDK for Developers

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

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.
prasantha
User
Posts: 53
Joined: Fri Jun 24, 2022 8:15 am

Export pages with comments

Post by prasantha »

Hi
I have a requirment to export all the pages with comments froma pdf document. I could not find a function to achieve this.Can someone let me know if there is such an operation to extract the pages with annotations?
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11252
Joined: Wed Jan 03, 2018 6:52 pm

Re: Export pages with comments

Post by Daniel - PDF-XChange »

Hello, prasantha

From the End user UI, the commands you need would be:

cmd.thumbnailsView.select.comments
~and~
cmd.document.extractPages

I expect you can call these commands normally to accomplish this, but there may be better examples on our Github if you need to do so in the background or as part of other processes: https://github.com/pdf-xchange

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com