Perform function after stamp insertion

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
ng80092a
User
Posts: 21
Joined: Thu May 13, 2021 11:50 am

Perform function after stamp insertion

Post by ng80092a »

Is it possible to perform functions after the insertion of a stamp?

I've tried to run functions from the .js file in the roaming folder while inserting a dynamic stamp, but unfortunately they don't account for the stamp it just inserted. It can run trough the document using app.activeDocs[0] though, what is missing is the consideration of the stamp is being inserted.

Kind regards,
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17765
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Perform function after stamp insertion

Post by Tracker Supp-Stefan »

Hello ng80092a,

Are you inserting the dynamic stamp from code as well - or do you want to get e.g. a notification when the end user of your application adds a dynamic stamp and perform additional tasks on the file from code after such a stamp insertion?

Kind regards,
Stefan
ng80092a
User
Posts: 21
Joined: Thu May 13, 2021 11:50 am

Re: Perform function after stamp insertion

Post by ng80092a »

Hi Stefan, thanks for the reply

Yes, perform additional tasks after the stamp insertion to change the stamp properties could do it.
Is that possible without using extra icons on the toolbar?

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

Re: Perform function after stamp insertion

Post by Sasha - Tracker Dev Team »

Hello ng80092a,

That is possible via the Editor SDK.

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