Remove docInfoBarSpan.PDFA

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.
AnMuWK
User
Posts: 30
Joined: Thu Dec 19, 2019 2:20 pm

Remove docInfoBarSpan.PDFA

Post by AnMuWK »

Good morning,

we have an issue while opening documents in two seperated instances of the Editor-Control.

When opening a PDF/a document we are using RemoveSpan methode to remove the PDF/a banner. As soon as we open another PDF in a second instance of the Editor on another form, the Span is again visible in the first form. We are not able to find an event on the first instance which allows us to hide the banner again.

Do you have some explanation why the banner is again visible in the first aninstance and on which event we could react to remove it again.

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

Re: Remove docInfoBarSpan.PDFA

Post by Sasha - Tracker Dev Team »

Hello AnMuWK,

You can try doing that in the e.document.initialized or e.document.activated event and see whether it will work for you.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
AnMuWK
User
Posts: 30
Joined: Thu Dec 19, 2019 2:20 pm

Re: Remove docInfoBarSpan.PDFA

Post by AnMuWK »

Hi,

reacting on the e.document.initialized event worked for us. We now can hide the exclamation mark every time it appears.

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

Remove docInfoBarSpan.PDFA

Post by Sasha - Tracker Dev Team »

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