I'm working on one custom tool which will check some desired parameter values if that match save will be continue (by using saving event) , I can able to generate some warning if the value is not matching but unfortunately I unable to control the save after event raise. Is there any suggestion to avoid the save after event raise, Kindly note I am using UI save option to save my document.
Many Thanks
Navya Y.B
Solved! Go to Solution.
Solved by aignatovich. Go to Solution.
Hi!
You can subscribe to DocumentSaving event.
SDK says:
Handlers of this event are permitted to make modifications to any document (including the active document), except for documents that are currently in read-only mode.
This event is cancellable, except when it is raised during close of the application. Check the 'Cancellable' property of event's argument to see whether it is cancellable or not. When it is cancellable, call the 'Cancel()' method of event's argument to cancel it. Your application is responsible for providing feedback to the user about the reason for the cancellation.
Can't find what you're looking for? Ask the community or share your knowledge.