Get Summarize Annots file name

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
lidds
User
Posts: 510
Joined: Sat May 16, 2009 1:55 pm

Get Summarize Annots file name

Post by lidds »

I am executing the cmd.comments.summarize and I was wondering if the following is possible:

1. Is it possible for to get the location of where the summarize comments file is created?

Thanks

Simon
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Get Summarize Annots file name

Post by Sasha - Tracker Dev Team »

Hello Simon,

You can listen to the e_operExecuted event and get the op.document.summarizeAnnots operation's output. When you get the IUnknown interface, cast it to the IAFS_File, from which you can get the IAFS_Name interface via the Name property. Then you can use the IAFS_Inst.DefaultFileSys.NameToString to generate a string path.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply