React do deletion of named destination

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
khho
User
Posts: 34
Joined: Fri Mar 11, 2022 11:02 am

React do deletion of named destination

Post by khho »

[topic moved from Viewer to Editor SDK]
Hello,
I want to react when a named destination is deleted.

I thought an event would be fired from AxPXV_Control which I could handle in the OnEvent-method.
But that seems to be the wrong approach.

Do I have to push an EventListener?

Thanks!
khho
khho
User
Posts: 34
Joined: Fri Mar 11, 2022 11:02 am

Re: React do deletion of named destination

Post by khho »

Any idea or hint where or how to handle something when a named destination is deleted?
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

Re: React do deletion of named destination

Post by zarkogajic »

Hi

Have you tried catching "e.pdfNamedDests.deleted" ?

-žarko
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: React do deletion of named destination

Post by Tracker Supp-Stefan »

Hello zarkogajic,

Thanks for the help!

@khho - please do let us know if the above suggestion helps!

Kind regards,
Stefan
khho
User
Posts: 34
Joined: Fri Mar 11, 2022 11:02 am

Re: React do deletion of named destination

Post by khho »

It helped!

zarkogajic and Stefan, thank you!
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

React do deletion of named destination

Post by Tracker Supp-Stefan »

:)
Post Reply