Confirmation needed for e.document.initialized and e.document.viewingStarted  SOLVED

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.
zarkogajic
User
Posts: 1372
Joined: Thu Sep 05, 2019 12:35 pm

Confirmation needed for e.document.initialized and e.document.viewingStarted

Post by zarkogajic »

Hi support,

I need the confirmation for the following: when a document (IPXV_Document) is loaded the order of (document related) events is e.document.initialized, e.document.viewingStarted, then the rest.

Can something happen in between so that e.document.initialized is fired and e.document.viewingStarted is not?

Can I be certain that both events will happen only once per document?

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

Re: Confirmation needed for e.document.initialized and e.document.viewingStarted  SOLVED

Post by Sasha - Tracker Dev Team »

Hello žarko,

These events are being fired in that order and once per document but, after the e.document.initialized event there are also e_document_beforeRunOpenScripts, e_document_afterRunOpenScripts and e_pagesView_doSetupInitialPos events, though I think they are not that crucial for you.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
zarkogajic
User
Posts: 1372
Joined: Thu Sep 05, 2019 12:35 pm

Re: Confirmation needed for e.document.initialized and e.document.viewingStarted

Post by zarkogajic »

Hi Alex,

Great, thanks.

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

Re: Confirmation needed for e.document.initialized and e.document.viewingStarted

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ